mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-05 20:39:11 +00:00
28 lines
462 B
PHP
28 lines
462 B
PHP
<?php
|
|
|
|
/**
|
|
* Class DatabaseSeeder
|
|
*/
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
Eloquent::unguard();
|
|
|
|
$this->call('AccountTypeSeeder');
|
|
$this->call('TransactionCurrencySeeder');
|
|
$this->call('TransactionTypeSeeder');
|
|
|
|
if (App::environment() == 'testing') {
|
|
$this->call('TestDataSeeder');
|
|
}
|
|
}
|
|
|
|
}
|