aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/db/specific/postgresql
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/db/specific/postgresql')
-rw-r--r--src/main/resources/db/specific/postgresql/V1.35__case_insensitive_email_jid.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/resources/db/specific/postgresql/V1.35__case_insensitive_email_jid.sql b/src/main/resources/db/specific/postgresql/V1.35__case_insensitive_email_jid.sql
new file mode 100644
index 00000000..93a987b8
--- /dev/null
+++ b/src/main/resources/db/specific/postgresql/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