mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-06 03:02:34 +01:00
8512db6b1e
* remove first name last name required * Working on check update script * Add payment terms per company * set enabled modules on company creation * Add payment terms to migration
38 lines
919 B
PHP
38 lines
919 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');
|
|
$this->call('IndustrySeeder');
|
|
//$this->call('PaymentTermsSeeder');
|
|
$this->call('PaymentTypesSeeder');
|
|
$this->call('GatewayTypesSeeder');
|
|
$this->call('DateFormatsSeeder');
|
|
$this->call('DesignSeeder');
|
|
}
|
|
}
|