Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
Fix the enabling of Postgres extension "citext" (#379)
Scott Wallaceb471a619d1af
diff --git a/prisma/migrations/20220414101318_remove_duplicate_emails/migration.sql b/prisma/migrations/20220414101318_remove_duplicate_emails/migration.sqlindex bc69bad40..145955691 100644--- a/prisma/migrations/20220414101318_remove_duplicate_emails/migration.sql+++ b/prisma/migrations/20220414101318_remove_duplicate_emails/migration.sql@@ -36,7 +36,7 @@ DELETE FROM "User" uWHERE NOT EXISTS (SELECT * FROM "Poll" p WHERE u.id = p."userId");-- Add citext extension-CREATE EXTENSION citext;+CREATE EXTENSION IF NOT EXISTS citext;-- Change email to citextALTER TABLE "User"