Skip to content

Commit

Permalink
Merge pull request #229 from tjwallis/patch-1
Browse files Browse the repository at this point in the history
Update 2016_02_10_181651_create_roles_tables.php
  • Loading branch information
AlirezaAlgo committed Jun 8, 2016
2 parents cce4486 + d3e261a commit 8b9d3d8
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@ public function up()
*/
public function down()
{
//
Schema::table('admin_role', function ( $table ) {
$table->dropForeign(['role_id']);
$table->dropForeign(['admin_id']);
});

Schema::drop('admin_role');
Schema::drop('permission_role');
Schema::drop('permissions');
Schema::drop('roles');
}
}

0 comments on commit 8b9d3d8

Please sign in to comment.