2022-11-23 09:32:34 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Seeders;
|
|
|
|
|
|
|
|
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Seed the application's database.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
2022-12-08 09:30:07 +01:00
|
|
|
$this->call([
|
|
|
|
PermissionSeeder::class,
|
|
|
|
UserSeeder::class,
|
|
|
|
GenreSeeder::class,
|
|
|
|
MovieSeeder::class,
|
|
|
|
CinemaSeeder::class,
|
|
|
|
RoomSeeder::class,
|
|
|
|
ShowingSeeder::class,
|
|
|
|
]);
|
2022-11-23 09:32:34 +01:00
|
|
|
}
|
|
|
|
}
|