mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
43 lines
1.1 KiB
PHP
43 lines
1.1 KiB
PHP
<?php
|
|
|
|
use App\Models\Timezone;
|
|
|
|
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('CountriesSeeder');
|
|
$this->call('PaymentLibrariesSeeder');
|
|
$this->call('FontsSeeder');
|
|
$this->call('GatewayTypesSeeder');
|
|
$this->call('BanksSeeder');
|
|
$this->call('InvoiceStatusSeeder');
|
|
$this->call('ProposalTemplatesSeeder');
|
|
$this->call('PaymentStatusSeeder');
|
|
$this->call('CurrenciesSeeder');
|
|
$this->call('DateFormatsSeeder');
|
|
$this->call('InvoiceDesignsSeeder');
|
|
$this->call('PaymentTermsSeeder');
|
|
$this->call('PaymentTypesSeeder');
|
|
$this->call('LanguageSeeder');
|
|
$this->call('IndustrySeeder');
|
|
$this->call('FrequencySeeder');
|
|
$this->call('DbServerSeeder');
|
|
}
|
|
}
|