Skip to content

Commit

Permalink
Fix for rolling back
Browse files Browse the repository at this point in the history
Change order of table drops (in another foreign key fail)
  • Loading branch information
Fellzo authored Jan 31, 2018
1 parent 75325a3 commit c68d4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/2016_05_17_221000_create_promocodes_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function up()
*/
public function down()
{
Schema::drop(config('promocodes.table', 'promocodes'));
Schema::drop(config('promocodes.relation_table', 'promocode_user'));
Schema::drop(config('promocodes.table', 'promocodes'));
}
}

0 comments on commit c68d4e0

Please sign in to comment.