26 lines
415 B
PHP
26 lines
415 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class SetupTable extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
$so = new App\Setup;
|
|
$so->country_id = 61;
|
|
$so->language_id = 1;
|
|
$so->currency_id = 1;
|
|
$so->url = 'http://';
|
|
$so->time_format = 'H:i:s';
|
|
$so->date_format = 'd-m-Y';
|
|
$so->decimal_place = 2;
|
|
$so->save();
|
|
dd($so);
|
|
}
|
|
}
|