Skip to content

Commit 4124574

Browse files
authored
Fix incorrect foreign id name on migration
1 parent 4a6c8b4 commit 4124574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/updates/drop_foreign_keys_on_forms.php.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ return new class extends Migration {
88
public function up()
99
{
1010
Schema::table($this->prefix('form_submissions'), function (Blueprint $table) {
11-
$table->dropForeign(['origin_id']);
11+
$table->dropForeign(['form_id']);
1212
});
1313
}
1414

0 commit comments

Comments
 (0)