25 lines
448 B
PHP
25 lines
448 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class DataTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('data')->insert([
|
|
'key' => 'version',
|
|
'value' => '1'
|
|
]);
|
|
|
|
DB::table('data')->insert([
|
|
'key' => 'ShowIsActive',
|
|
'value' => '0'
|
|
]);
|
|
}
|
|
}
|