fix(db): ensure pgcrypto extension for UUID generation

Add CREATE EXTENSION IF NOT EXISTS pgcrypto to migration for
compatibility with older PostgreSQL versions.
This commit is contained in:
2026-04-06 23:23:26 -04:00
parent 3b5934dbfd
commit a4656520f8

View File

@@ -1,5 +1,8 @@
BEGIN;
-- Ensure pgcrypto extension is available for UUID generation
CREATE EXTENSION IF NOT EXISTS pgcrypto;
ALTER TABLE "authenticator" DISABLE ROW LEVEL SECURITY;--> statement-breakpoint
DROP TABLE "authenticator" CASCADE;--> statement-breakpoint
ALTER TABLE "verificationToken" RENAME TO "verification";--> statement-breakpoint