diff --git a/packages/db-main-prisma/prisma/postgres/migrations/20240626072754_add_setting_table/migration.sql b/packages/db-main-prisma/prisma/postgres/migrations/20240626072754_add_setting_table/migration.sql index 2a74341b9..a9614ed19 100644 --- a/packages/db-main-prisma/prisma/postgres/migrations/20240626072754_add_setting_table/migration.sql +++ b/packages/db-main-prisma/prisma/postgres/migrations/20240626072754_add_setting_table/migration.sql @@ -7,5 +7,7 @@ CREATE TABLE "setting" ( CONSTRAINT "setting_pkey" PRIMARY KEY ("instance_id") ); +CREATE EXTENSION IF NOT EXISTS pgcrypto; + -- Insert initial record INSERT INTO "setting" ("instance_id", "disallow_sign_up", "disallow_space_creation") VALUES (gen_random_uuid(), NULL, NULL);