Fix broken migration rollbacks
This commit is contained in:
parent
36837df0a6
commit
89db9390df
4 changed files with 7 additions and 8 deletions
|
@ -36,8 +36,8 @@ class UpgradeTaskSystem extends Migration
|
|||
public function down()
|
||||
{
|
||||
Schema::table('tasks', function (Blueprint $table) {
|
||||
$table->dropForeign(['server_id']);
|
||||
$table->dropForeign(['user_id']);
|
||||
// $table->dropForeign(['server_id']);
|
||||
// $table->dropForeign(['user_id']);
|
||||
|
||||
$table->renameColumn('server_id', 'server');
|
||||
$table->dropColumn('user_id');
|
||||
|
|
Reference in a new issue