Skip to content

Commit

Permalink
Merge pull request #1883 from apiraino/fix-migration
Browse files Browse the repository at this point in the history
Make a DB migration optional
  • Loading branch information
jackh726 authored Jan 22, 2025
2 parents ba5e479 + b1c8e41 commit ac05e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,6 @@ CREATE EXTENSION IF NOT EXISTS intarray;",
CREATE UNIQUE INDEX IF NOT EXISTS review_prefs_user_id ON review_prefs(user_id);
",
"
ALTER TABLE review_prefs ADD COLUMN max_assigned_prs INTEGER DEFAULT NULL;
ALTER TABLE review_prefs ADD COLUMN IF NOT EXISTS max_assigned_prs INTEGER DEFAULT NULL;
",
];

0 comments on commit ac05e4a

Please sign in to comment.