Fix broken migration rollbacks
This commit is contained in:
parent
36837df0a6
commit
89db9390df
4 changed files with 7 additions and 8 deletions
|
@ -23,10 +23,6 @@ class DeleteTaskWhenParentServerIsDeleted extends Migration
|
|||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('tasks', function (Blueprint $table) {
|
||||
$table->dropForeign(['server_id']);
|
||||
|
||||
$table->foreign('server_id')->references('id')->on('servers');
|
||||
});
|
||||
//
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue