Fix the enabling of Postgres extension "citext" (#379)

This commit is contained in:
Scott Wallace 2023-01-09 11:09:33 +00:00 committed by GitHub
parent bf424f0718
commit b471a619d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ DELETE FROM "User" u
WHERE 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 citext
ALTER TABLE "User"