From 2db415ce42fb96059b6d7fce4cf4ce078a62680e Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Fri, 27 Jan 2023 17:50:14 +0300
Subject: baseline non-production databases to 1.36

---
 src/main/resources/db/migration/V1.35__case_insensitive_email_jid.sql | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 src/main/resources/db/migration/V1.35__case_insensitive_email_jid.sql

(limited to 'src/main/resources/db/migration/V1.35__case_insensitive_email_jid.sql')

diff --git a/src/main/resources/db/migration/V1.35__case_insensitive_email_jid.sql b/src/main/resources/db/migration/V1.35__case_insensitive_email_jid.sql
new file mode 100644
index 00000000..93a987b8
--- /dev/null
+++ b/src/main/resources/db/migration/V1.35__case_insensitive_email_jid.sql
@@ -0,0 +1,2 @@
+ALTER TABLE jids ALTER COLUMN jid TYPE character varying(255) COLLATE case_insensitive;
+ALTER TABLE emails ALTER COLUMN email TYPE character varying(255) COLLATE case_insensitive
-- 
cgit v1.2.3

