Skip to content

Commit 3ebabea

Browse files
authored
Update 2019_06_05_100005_create_governor_permissions_table.php
1 parent f5cd390 commit 3ebabea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2019_06_05_100005_create_governor_permissions_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function up()
2525
->nullable();
2626
$table->timestamps();
2727

28-
$table->unique(['role_name', 'entity_name', 'action_name', 'ownership_name']);
28+
$table->unique(['role_name', 'entity_name', 'action_name', 'ownership_name'], 'governor_permissions_unique_key');
2929
$table->foreign('role_name')
3030
->references('name')
3131
->on('governor_roles')

0 commit comments

Comments
 (0)