fix proposals table unable to rollback
This commit is contained in:
@@ -53,6 +53,11 @@ class CreateProposalsTable extends Migration
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
// remove the FK
|
||||
Schema::table('revisions', function (Blueprint $table) {
|
||||
$table->dropForeign('revisions_proposal_id_foreign');
|
||||
});
|
||||
|
||||
Schema::dropIfExists('proposals');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user