osb/database/seeders/SiteTableSeeder.php
2022-02-02 10:56:28 +11:00

44 lines
672 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->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->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();
}
}