Commit 1dcfb16a authored by gxx's avatar gxx

somechnage

parent 9076419b
...@@ -30,7 +30,7 @@ class EntrustSetupTables extends Migration ...@@ -30,7 +30,7 @@ class EntrustSetupTables extends Migration
$table->foreign('role_id')->references('id')->on('roles') $table->foreign('role_id')->references('id')->on('roles')
->onUpdate('cascade')->onDelete('cascade'); ->onUpdate('cascade')->onDelete('cascade');
$table->increments("id"); $table->increments("id");
$table->unsignedBigInteger(['admin_id', 'role_id']); //$table->unsignedBigInteger(['admin_id', 'role_id']);
}); });
// Create table for storing permissions // Create table for storing permissions
......
...@@ -12,13 +12,10 @@ class DatabaseSeeder extends Seeder ...@@ -12,13 +12,10 @@ class DatabaseSeeder extends Seeder
public function run() public function run()
{ {
// $this->call(UsersTableSeeder::class); // $this->call(UsersTableSeeder::class);
$this->call(UserInfosTableSeeder::class);
$this->call(PermissionsTableSeeder::class); $this->call(PermissionsTableSeeder::class);
$this->call(AdminsTableSeeder::class); $this->call(AdminsTableSeeder::class);
$this->call(RolesTableSeeder::class); $this->call(RolesTableSeeder::class);
$this->call(RoleAdminsTableSeeder::class); $this->call(RoleAdminsTableSeeder::class);
$this->call(PermissionRoleTableSeeder::class); $this->call(PermissionRoleTableSeeder::class);
$this->call(SmsTableSeeder::class);
$this->call(GroupsTableSeeder::class);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment