mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
528c99f655
* Implement CoreUI Interface * Core UI Navigation wire frame * UI - Fix sidebar nav - add Invoice Ninja Logo * Create layout using CoreUI admin template * Login UI, Database seeds
33 lines
671 B
PHP
33 lines
671 B
PHP
<?php
|
|
|
|
use App\Models\Timezone;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
$this->command->info('Running DatabaseSeeder');
|
|
|
|
if (Timezone::count()) {
|
|
$this->command->info('Skipping: already run');
|
|
return;
|
|
}
|
|
|
|
Eloquent::unguard();
|
|
|
|
$this->call('ConstantsSeeder');
|
|
$this->call('PaymentLibrariesSeeder');
|
|
$this->call('BanksSeeder');
|
|
$this->call('CurrenciesSeeder');
|
|
$this->call('LanguageSeeder');
|
|
$this->call('CountriesSeeder');
|
|
|
|
}
|
|
}
|