|
@@ -20,7 +20,7 @@ |
|
|
block discarded – undo |
|
20
|
20
|
$userTable = app(config('auth.providers.users.model'))->getTable(); |
|
21
|
21
|
|
|
22
|
22
|
if (!$tableCheck) { |
|
23
|
|
- Schema::connection($connection)->create($table, function (Blueprint $table) use ($permissionsTable, $userTable) { |
|
|
23
|
+ Schema::connection($connection)->create($table, function(Blueprint $table) use ($permissionsTable, $userTable) { |
|
24
|
24
|
$table->increments('id')->unsigned(); |
|
25
|
25
|
$table->integer('role_id')->unsigned()->index(); |
|
26
|
26
|
$table->foreign('role_id')->references('id')->on($permissionsTable)->onDelete('cascade'); |
Please login to merge, or discard this patch.