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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user