Skip to content

Commit 2e29d19

Browse files
committed
TEXT -> UUID in Postgres
1 parent 8cda065 commit 2e29d19

File tree

1 file changed

+1
-1
lines changed
  • src/db/postgres/lrsql/postgres/sql

1 file changed

+1
-1
lines changed

src/db/postgres/lrsql/postgres/sql/ddl.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ ALTER TABLE reaction ALTER COLUMN title TYPE TEXT;
495495
-- :command :execute
496496
-- :doc Create the `blocked_jwt` table and associated indexes if they do not exist yet.
497497
CREATE TABLE IF NOT EXISTS blocked_jwt (
498-
account_id TEXT NOT NULL REFERENCES admin_account(id) ON DELETE CASCADE,
498+
account_id UUID NOT NULL REFERENCES admin_account(id) ON DELETE CASCADE,
499499
expiration TIMESTAMP,
500500
PRIMARY KEY (account_id, expiration)
501501
);

0 commit comments

Comments
 (0)