Files
api-extranetwork/database/seeds/PropertyChainSeeder.php
ExtraNetwork e5c4b6aa13 first commit
2026-05-12 17:04:54 +03:00

134 lines
4.0 KiB
PHP

<?php
use Illuminate\Database\Seeder;
class PropertyChainSeeder extends Seeder
{
/**
* Auto generated seed file
*
* @return void
*/
public function run()
{
\DB::table('property_chain')->delete();
\DB::table('property_chain')->insert(array (
0 =>
array (
'id' => 1,
'name' => 'Independent',
'loyalty' => NULL,
'status' => 1,
'created_by' => 1,
'updated_by' => 1,
'created_at' => 0,
'updated_at' => 0,
),
1 =>
array (
'id' => 2,
'name' => 'Adam\'s Mark',
'loyalty' => NULL,
'status' => 1,
'created_by' => 1,
'updated_by' => 1,
'created_at' => 0,
'updated_at' => 0,
),
2 =>
array (
'id' => 3,
'name' => 'Shilo Inn',
'loyalty' => NULL,
'status' => 1,
'created_by' => 1,
'updated_by' => 1,
'created_at' => 0,
'updated_at' => 0,
),
3 =>
array (
'id' => 4,
'name' => 'Renaissance',
'loyalty' => 'Marriott',
'status' => 1,
'created_by' => 1,
'updated_by' => 1,
'created_at' => 0,
'updated_at' => 0,
),
4 =>
array (
'id' => 5,
'name' => 'Best Western',
'loyalty' => NULL,
'status' => 1,
'created_by' => 1,
'updated_by' => 1,
'created_at' => 0,
'updated_at' => 0,
),
5 =>
array (
'id' => 6,
'name' => 'Clarion',
'loyalty' => NULL,
'status' => 1,
'created_by' => 1,
'updated_by' => 1,
'created_at' => 0,
'updated_at' => 0,
),
6 =>
array (
'id' => 7,
'name' => 'Comfort Inn',
'loyalty' => NULL,
'status' => 1,
'created_by' => 1,
'updated_by' => 1,
'created_at' => 0,
'updated_at' => 0,
),
7 =>
array (
'id' => 8,
'name' => 'Courtyard',
'loyalty' => 'Marriott',
'status' => 1,
'created_by' => 1,
'updated_by' => 1,
'created_at' => 0,
'updated_at' => 0,
),
8 =>
array (
'id' => 9,
'name' => 'Doral',
'loyalty' => NULL,
'status' => 1,
'created_by' => 1,
'updated_by' => 1,
'created_at' => 0,
'updated_at' => 0,
),
9 =>
array (
'id' => 10,
'name' => 'Days Inn',
'loyalty' => NULL,
'status' => 1,
'created_by' => 1,
'updated_by' => 1,
'created_at' => 0,
'updated_at' => 0,
),
));
}
}