Skip to content

Commit ac05e4a

Browse files
authored
Merge pull request #1883 from apiraino/fix-migration
Make a DB migration optional
2 parents ba5e479 + b1c8e41 commit ac05e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,6 @@ CREATE EXTENSION IF NOT EXISTS intarray;",
345345
CREATE UNIQUE INDEX IF NOT EXISTS review_prefs_user_id ON review_prefs(user_id);
346346
",
347347
"
348-
ALTER TABLE review_prefs ADD COLUMN max_assigned_prs INTEGER DEFAULT NULL;
348+
ALTER TABLE review_prefs ADD COLUMN IF NOT EXISTS max_assigned_prs INTEGER DEFAULT NULL;
349349
",
350350
];

0 commit comments

Comments
 (0)