fanatic/database/seeders/DatabaseSeeder.php
2022-04-23 16:52:47 -07:00

32 lines
637 B
PHP

<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
DB::table('collectives')->insert([
'created_at' => now(),
'updated_at' => now(),
'name' => 'marley',
'email' => 'mar@m.punkfairie.net',
'title' => 'aeipathy',
'password' => bcrypt('marfan4'),
]);
$this->call([
CategorySeeder::class,
JoinedSeeder::class
]);
}
}