Skip to content

Commit 45bd7c0

Browse files
committed
added DummyDatabaseSeeder to easily seed the database with one artisan command instead of 4 or 5
1 parent 9bcd194 commit 45bd7c0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
use Illuminate\Database\Seeder;
4+
5+
class DummyDatabaseSeeder extends Seeder
6+
{
7+
/**
8+
* Run the database seeds.
9+
*/
10+
public function run()
11+
{
12+
$this->call('UsersDummyTableSeeder');
13+
$this->call('ClientsDummyTableSeeder');
14+
$this->call('ContactsDummyTableSeeder');
15+
$this->call('TasksDummyTableSeeder');
16+
$this->call('LeadsDummyTableSeeder');
17+
}
18+
}

0 commit comments

Comments
 (0)