2022-04-22 20:01:30 -07:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Seeders;
|
|
|
|
|
|
|
|
use Illuminate\Database\Seeder;
|
2022-04-23 16:52:47 -07:00
|
|
|
use Illuminate\Support\Facades\DB;
|
2022-04-22 20:01:30 -07:00
|
|
|
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Seed the application's database.
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
2022-04-26 21:16:46 -07:00
|
|
|
DB::table('collectives')->insert([
|
|
|
|
'created_at' => now(),
|
|
|
|
'updated_at' => now(),
|
|
|
|
'name' => 'marley',
|
|
|
|
'email' => 'mar@m.punkfairie.net',
|
|
|
|
'title' => 'aeipathy',
|
|
|
|
'password' => bcrypt('marfan4'),
|
|
|
|
]);
|
2022-04-23 16:52:47 -07:00
|
|
|
|
2022-04-23 16:25:16 -07:00
|
|
|
$this->call([
|
2022-04-26 21:16:46 -07:00
|
|
|
CategorySeeder::class,
|
|
|
|
JoinedSeeder::class,
|
|
|
|
OwnedSeeder::class,
|
2022-04-29 11:52:58 -07:00
|
|
|
CountrySeeder::class,
|
|
|
|
MemberSeeder::class,
|
2022-04-26 21:16:46 -07:00
|
|
|
]);
|
2022-04-22 20:01:30 -07:00
|
|
|
}
|
|
|
|
}
|