Skip to content

Commit c237061

Browse files
Merge pull request #49 from Fijvect/patch-2
migration->down() needs to drop the added column
2 parents 850cfe3 + f7db2ac commit c237061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/2020_09_22_124225_add_user_id_column_to_nova_mail_templates_table.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function up()
2626
public function down()
2727
{
2828
Schema::table('nova_mail_templates', function (Blueprint $table) {
29-
$table->unsignedBigInteger('user_id');
29+
$table->dropColumn('user_id');
3030
});
3131
}
3232
}

0 commit comments

Comments
 (0)