Skip to content

Commit c66a360

Browse files
committed
Fix a broken migration
1 parent 5b33749 commit c66a360

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/migrations/2024-06-29T21:09:58.373Z_account_article_composite_key.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export async function up(db) {
2424
await db.schema
2525
.alterTable('account_article')
2626
.dropConstraint('user_articles_user_id_article_id_key')
27+
.ifExists()
2728
.execute();
2829
}
2930

0 commit comments

Comments
 (0)