Skip to content

Commit

Permalink
fix: amend user password migration (#13662)
Browse files Browse the repository at this point in the history
  • Loading branch information
zomars committed Feb 13, 2024
1 parent c2edbbc commit e1f2dba
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ SELECT
FROM
users u;

-- We rename instead of dropping the column to avoid possible data loss, will be dropped in the next migration.
ALTER TABLE "users"
RENAME COLUMN "password" TO "password_deprecated";
-- TODO for next migration.
-- ALTER TABLE "users" DROP COLUMN "password";

0 comments on commit e1f2dba

Please sign in to comment.