Skip to content

Commit

Permalink
fix: fix migration script (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmatrhd committed Sep 27, 2022
1 parent aadf11e commit 3d9c118
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ WHERE
UPDATE
"appeals"
SET
"status" = "terminated"
"status" = 'terminated'
WHERE
"revoked_by" <> "";
"revoked_by" <> '';
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
UPDATE
"appeals"
SET
"status" = "approved"
"status" = 'approved'
WHERE
"status" = "terminated";
"status" = 'terminated';

ALTER TABLE
"appeals" DROP COLUMN IF EXISTS "revoked_by",
"revoked_at",
"revoke_reason";
DROP COLUMN IF EXISTS "revoked_at",
DROP COLUMN IF EXISTS "revoke_reason";

0 comments on commit 3d9c118

Please sign in to comment.