osb/database/seeders/SiteTableSeeder.php

46 lines
710 B
PHP
Raw Permalink Normal View History

2018-07-06 06:57:49 +00:00
<?php
2021-06-30 01:06:20 +00:00
namespace Database\Seeders;
2018-07-06 06:57:49 +00:00
use Illuminate\Database\Seeder;
use App\Models\Site;
class SiteTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// Test Sites 254 & 255
2018-07-06 06:57:49 +00:00
$o = new Site;
$o->id = 254;
// $o->date_orig
$o->active = TRUE;
$o->site_id = 254;
2018-07-06 06:57:49 +00:00
$o->country_id = 61;
$o->language_id = 1;
$o->currency_id = 6;
$o->url = 'test1';
//$o->admin_id;
$o->save();
// Test Sites 254 & 255
$o = new Site;
$o->id = 255;
// $o->date_orig
$o->site_id = 255;
$o->active = TRUE;
$o->country_id = 61;
$o->language_id = 1;
$o->currency_id = 6;
$o->url = 'test2';
// $o->admin_id;
2018-07-06 06:57:49 +00:00
$o->save();
}
}