osb/database/seeders/SiteTableSeeder.php

54 lines
947 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->country_id = 61;
$o->language_id = 1;
$o->currency_id = 6;
$o->url = 'test1';
// $o->login_expire;
// $o->time_format;
// $o->date_format;
// $o->decimal_place;
// $o->module_config;
// $o->site_details;
// $o->admin_date;
$o->save();
// Test Sites 254 & 255
$o = new Site;
$o->id = 255;
// $o->date_orig
$o->active = TRUE;
$o->country_id = 61;
$o->language_id = 1;
$o->currency_id = 6;
$o->url = 'test2';
// $o->login_expire;
// $o->time_format;
// $o->date_format;
// $o->decimal_place;
// $o->module_config;
// $o->site_details;
// $o->admin_date;
$o->save();
}
}