You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
584 B
32 lines
584 B
<?php
|
|
|
|
namespace Database\Seeds\InitData;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class AdminRoleUsersTableSeeder extends Seeder
|
|
{
|
|
|
|
/**
|
|
* Auto generated seed file
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
|
|
|
|
DB::table('admin_role_users')->delete();
|
|
|
|
DB::table('admin_role_users')->insert(array(
|
|
0 =>
|
|
array(
|
|
'role_id' => 1,
|
|
'user_id' => 1,
|
|
'created_at' => NULL,
|
|
'updated_at' => NULL,
|
|
),
|
|
));
|
|
}
|
|
}
|
|
|