This commit is contained in:
2026-01-12 18:20:31 +00:00
parent 2a83373b28
commit ff904abf49
10 changed files with 244 additions and 19 deletions

View File

@@ -17,7 +17,7 @@ class DatabaseSeeder extends Seeder
*/
public function run(): void
{
// Создать админа
// Админ
$admin = Admin::firstOrCreate([
'email' => 'admin@hotels.ru',
], [
@@ -25,7 +25,7 @@ class DatabaseSeeder extends Seeder
'password' => Hash::make('password'),
]);
// Создать отель
// Отель
$hotel = Hotel::create([
'name' => 'Grand Hotel',
'address' => '123 Main St',