Skip to content

Commit 1d21436

Browse files
authored
Merge pull request #19 from amiryousefi/amiryousefi-patch-1
Update 2020_04_17_155932_add_role_id_to_users.php
2 parents 4469dfe + 93bd088 commit 1d21436

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Database/migrations/2020_04_17_155932_add_role_id_to_users.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public function up()
3030
public function down()
3131
{
3232
Schema::table('users', function (Blueprint $table) {
33+
$table->dropForeign('role_id');
3334
$table->dropColumn('role_id');
3435
});
3536
}

0 commit comments

Comments
 (0)