migrate to gtea from bistbucket
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?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(),
|
||||
],
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user