first commit
This commit is contained in:
263
database/seeds/PropertyPhotoSeeder.php
Normal file
263
database/seeds/PropertyPhotoSeeder.php
Normal file
@@ -0,0 +1,263 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class PropertyPhotoSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
\DB::table('property_photo')->delete();
|
||||
|
||||
\DB::table('property_photo')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'property_id' => 1,
|
||||
'property_photo_category_id' => 2,
|
||||
'photo_path' => '/srv/api.gextranet.com/public/property-photos/1/1571403990.jpg',
|
||||
'photo_name' => '1571403990.jpg',
|
||||
'photo_rank' => NULL,
|
||||
'file_size' => '224086',
|
||||
'file_ext' => 'jpg',
|
||||
'photo_resolution' => '1740x1161',
|
||||
'photo_order' => 1,
|
||||
'is_default' => 0,
|
||||
'is_temp' => 1,
|
||||
'status' => 0,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1,
|
||||
'updated_at' => 1571404371,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'property_id' => 1,
|
||||
'property_photo_category_id' => 2,
|
||||
'photo_path' => '/srv/api.gextranet.com/public/property-photos/1/1571404099.jpg',
|
||||
'photo_name' => '1571404099.jpg',
|
||||
'photo_rank' => NULL,
|
||||
'file_size' => '234013',
|
||||
'file_ext' => 'jpg',
|
||||
'photo_resolution' => '1740x1159',
|
||||
'photo_order' => 2,
|
||||
'is_default' => 0,
|
||||
'is_temp' => 1,
|
||||
'status' => 0,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1,
|
||||
'updated_at' => 1571404370,
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'property_id' => 1,
|
||||
'property_photo_category_id' => 9,
|
||||
'photo_path' => '/srv/api.gextranet.com/public/property-photos/1/1571404388.jpg',
|
||||
'photo_name' => '1571404388.jpg',
|
||||
'photo_rank' => NULL,
|
||||
'file_size' => '195845',
|
||||
'file_ext' => 'jpg',
|
||||
'photo_resolution' => '1740x1171',
|
||||
'photo_order' => 3,
|
||||
'is_default' => 0,
|
||||
'is_temp' => 1,
|
||||
'status' => 1,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1,
|
||||
'updated_at' => 1,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'property_id' => 1,
|
||||
'property_photo_category_id' => 11,
|
||||
'photo_path' => '/srv/api.gextranet.com/public/property-photos/1/1571404427.jpg',
|
||||
'photo_name' => '1571404427.jpg',
|
||||
'photo_rank' => NULL,
|
||||
'file_size' => '164885',
|
||||
'file_ext' => 'jpg',
|
||||
'photo_resolution' => '1740x1160',
|
||||
'photo_order' => 4,
|
||||
'is_default' => 1,
|
||||
'is_temp' => 1,
|
||||
'status' => 0,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1,
|
||||
'updated_at' => 1571407419,
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'property_id' => 1,
|
||||
'property_photo_category_id' => 6,
|
||||
'photo_path' => '/srv/api.gextranet.com/public/property-photos/1/1571404449.jpg',
|
||||
'photo_name' => '1571404449.jpg',
|
||||
'photo_rank' => NULL,
|
||||
'file_size' => '189233',
|
||||
'file_ext' => 'jpg',
|
||||
'photo_resolution' => '1740x1197',
|
||||
'photo_order' => 5,
|
||||
'is_default' => 0,
|
||||
'is_temp' => 1,
|
||||
'status' => 1,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1,
|
||||
'updated_at' => 1,
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'property_id' => 1,
|
||||
'property_photo_category_id' => 2,
|
||||
'photo_path' => '/srv/api.gextranet.com/public/property-photos/1/1571407195.jpg',
|
||||
'photo_name' => '1571407195.jpg',
|
||||
'photo_rank' => NULL,
|
||||
'file_size' => '167280',
|
||||
'file_ext' => 'jpg',
|
||||
'photo_resolution' => '1740x1134',
|
||||
'photo_order' => 6,
|
||||
'is_default' => 0,
|
||||
'is_temp' => 1,
|
||||
'status' => 1,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1,
|
||||
'updated_at' => 1571407198,
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'property_id' => 1,
|
||||
'property_photo_category_id' => 11,
|
||||
'photo_path' => '/srv/api.gextranet.com/public/property-photos/1/1571407199.jpg',
|
||||
'photo_name' => '1571407199.jpg',
|
||||
'photo_rank' => NULL,
|
||||
'file_size' => '195845',
|
||||
'file_ext' => 'jpg',
|
||||
'photo_resolution' => '1740x1171',
|
||||
'photo_order' => 7,
|
||||
'is_default' => 0,
|
||||
'is_temp' => 1,
|
||||
'status' => 1,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1,
|
||||
'updated_at' => 1571407201,
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'property_id' => 1,
|
||||
'property_photo_category_id' => 2,
|
||||
'photo_path' => '/srv/api.gextranet.com/public/property-photos/1/1571407202.jpg',
|
||||
'photo_name' => '1571407202.jpg',
|
||||
'photo_rank' => NULL,
|
||||
'file_size' => '224086',
|
||||
'file_ext' => 'jpg',
|
||||
'photo_resolution' => '1740x1161',
|
||||
'photo_order' => 8,
|
||||
'is_default' => 0,
|
||||
'is_temp' => 1,
|
||||
'status' => 1,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1,
|
||||
'updated_at' => 1571407204,
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'property_id' => 1,
|
||||
'property_photo_category_id' => 11,
|
||||
'photo_path' => '/srv/api.gextranet.com/public/property-photos/1/1571407206.jpg',
|
||||
'photo_name' => '1571407206.jpg',
|
||||
'photo_rank' => NULL,
|
||||
'file_size' => '164885',
|
||||
'file_ext' => 'jpg',
|
||||
'photo_resolution' => '1740x1160',
|
||||
'photo_order' => 9,
|
||||
'is_default' => 0,
|
||||
'is_temp' => 1,
|
||||
'status' => 1,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1,
|
||||
'updated_at' => 1571407208,
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'property_id' => 1,
|
||||
'property_photo_category_id' => 2,
|
||||
'photo_path' => '/srv/api.gextranet.com/public/property-photos/1/1571407209.jpg',
|
||||
'photo_name' => '1571407209.jpg',
|
||||
'photo_rank' => NULL,
|
||||
'file_size' => '234013',
|
||||
'file_ext' => 'jpg',
|
||||
'photo_resolution' => '1740x1159',
|
||||
'photo_order' => 10,
|
||||
'is_default' => 0,
|
||||
'is_temp' => 1,
|
||||
'status' => 1,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1,
|
||||
'updated_at' => 1571407211,
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'property_id' => 1,
|
||||
'property_photo_category_id' => 9,
|
||||
'photo_path' => '/srv/api.gextranet.com/public/property-photos/1/1571407212.jpg',
|
||||
'photo_name' => '1571407212.jpg',
|
||||
'photo_rank' => NULL,
|
||||
'file_size' => '246154',
|
||||
'file_ext' => 'jpg',
|
||||
'photo_resolution' => '1740x1324',
|
||||
'photo_order' => 11,
|
||||
'is_default' => 0,
|
||||
'is_temp' => 1,
|
||||
'status' => 1,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1,
|
||||
'updated_at' => 1571407214,
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'property_id' => 1,
|
||||
'property_photo_category_id' => 11,
|
||||
'photo_path' => '/srv/api.gextranet.com/public/property-photos/1/1571407216.jpg',
|
||||
'photo_name' => '1571407216.jpg',
|
||||
'photo_rank' => NULL,
|
||||
'file_size' => '151624',
|
||||
'file_ext' => 'jpg',
|
||||
'photo_resolution' => '1740x1160',
|
||||
'photo_order' => 12,
|
||||
'is_default' => 0,
|
||||
'is_temp' => 1,
|
||||
'status' => 1,
|
||||
'created_by' => 1,
|
||||
'updated_by' => 1,
|
||||
'created_at' => 1,
|
||||
'updated_at' => 1571407218,
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user