Skip to content

Commit

Permalink
Fix pfp column renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
wingio committed Nov 10, 2024
1 parent f884d8a commit 8e32ffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prisma/migrations/20241109014759_bigint_ids/migration.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ ALTER COLUMN id TYPE BIGINT USING id::BIGINT;
-- AlterTable
ALTER TABLE users
ALTER COLUMN id TYPE BIGINT USING id::BIGINT,
ALTER COLUMN role TYPE INT USING role::INT,
RENAME COLUMN pfp TO avatar;
ALTER COLUMN role TYPE INT USING role::INT;
ALTER TABLE users RENAME COLUMN pfp TO avatar;

0 comments on commit 8e32ffe

Please sign in to comment.