35 lines
947 B
PHP
35 lines
947 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Modules\Authentication\Database\Seeders;
|
||
|
|
|
||
|
|
use Carbon\Carbon;
|
||
|
|
use Illuminate\Database\Seeder;
|
||
|
|
use Illuminate\Support\Facades\DB;
|
||
|
|
|
||
|
|
class RestaurantTableSeeder extends Seeder
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* Run the database seeds.
|
||
|
|
*/
|
||
|
|
public function run(): void
|
||
|
|
{
|
||
|
|
DB::table('restaurants')->insert([
|
||
|
|
[
|
||
|
|
'owner_id' => 2,
|
||
|
|
'assigned_to' => 1,
|
||
|
|
'name' => 'Star Kabab & Restaurant',
|
||
|
|
'address' => 'House 1, Road 2, Dhanmondi, Dhaka 1205',
|
||
|
|
'restaurant_type' => 'Restaurant',
|
||
|
|
'phone' => '01712345678',
|
||
|
|
'domain' => 'starkabab.com',
|
||
|
|
'platform' => 'WEB',
|
||
|
|
'last_active_time' => Carbon::now(),
|
||
|
|
'status' => 1,
|
||
|
|
'theme_id' => 1,
|
||
|
|
'created_at' => Carbon::now(),
|
||
|
|
'updated_at' => Carbon::now(),
|
||
|
|
],
|
||
|
|
]);
|
||
|
|
}
|
||
|
|
}
|