mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 17:57:33 -04:00 
			
		
		
		
	* style cs * Style CS * Throw Record not found exception if invalid primary key hash is provided * Improve error handling * Create abstract implementation for designs * working on custom designs * Add Design Model * invoice services * Download Invoice by Invitation
		
			
				
	
	
		
			38 lines
		
	
	
		
			875 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			875 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('PaymentTypesSeeder');
 | |
|         $this->call('GatewayTypesSeeder');
 | |
|         $this->call('DateFormatsSeeder');
 | |
|         $this->call('DesignSeeder');
 | |
| 
 | |
|     }
 | |
| }
 |