osb/database/seeders/SiteTableSeeder.php
2021-07-02 10:03:36 +10:00

46 lines
710 B
PHP

<?php
namespace Database\Seeders;
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
$o = new Site;
$o->id = 254;
// $o->date_orig
$o->active = TRUE;
$o->site_id = 254;
$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;
$o->save();
}
}