Skip to content

Commit 64c476f

Browse files
committed
remove priority = NULL from unapprove statement
1 parent 733d95c commit 64c476f

3 files changed

+15
-15
lines changed

.sqlx/query-32c1cd799f8a1e8c451493959419570892d76e7adbc3e5c7b50e97e1bfee27bd.json

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-3f7f3b1f86aaa6acdf76f4d597aff4b4c7ac77b9498f77617086b2c12582b971.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/database/operations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub(crate) async fn unapprove_pull_request(
9393
pr_id: i32,
9494
) -> anyhow::Result<()> {
9595
sqlx::query!(
96-
"UPDATE pull_request SET approved_by = NULL, priority = NULL WHERE id = $1",
96+
"UPDATE pull_request SET approved_by = NULL WHERE id = $1",
9797
pr_id
9898
)
9999
.execute(executor)

0 commit comments

Comments
 (0)