aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/db/specific/h2
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-20 18:23:14 +0300
committerGravatar Vitaly Takmazov2023-01-20 18:23:14 +0300
commit11265dc2502cfe4f7d6cfdebc324cfd36cba91de (patch)
tree0e511155bbfdd0d8fbaa19d14f0662c767b182da /src/main/resources/db/specific/h2
parentf987a11b78d7d8cf189fb73a10f99b44d84485de (diff)
db: case-insensitive jid and email
Diffstat (limited to 'src/main/resources/db/specific/h2')
-rw-r--r--src/main/resources/db/specific/h2/V1.35__case_insensitive_email_jid.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/resources/db/specific/h2/V1.35__case_insensitive_email_jid.sql b/src/main/resources/db/specific/h2/V1.35__case_insensitive_email_jid.sql
new file mode 100644
index 00000000..a20debf6
--- /dev/null
+++ b/src/main/resources/db/specific/h2/V1.35__case_insensitive_email_jid.sql
@@ -0,0 +1,2 @@
+ALTER TABLE jids ALTER COLUMN jid SET DATA TYPE VARCHAR_IGNORECASE(255);
+ALTER TABLE emails ALTER COLUMN email SET DATA TYPE VARCHAR_IGNORECASE(255)