aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/db/specific/h2
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-22 21:42:30 +0300
committerGravatar Vitaly Takmazov2022-12-22 21:50:34 +0300
commit3c5cfe677e013e0bcf10d168c08ac37a93482583 (patch)
treecce4fe3163acc3116a85df0abb8934100e16296e /src/main/resources/db/specific/h2
parent33676cf1653f2053f57a9e0ecd5c8bda6c64d986 (diff)
User nick is case-insensitive
Diffstat (limited to 'src/main/resources/db/specific/h2')
-rw-r--r--src/main/resources/db/specific/h2/V1.26__case_insensitive_nick.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/resources/db/specific/h2/V1.26__case_insensitive_nick.sql b/src/main/resources/db/specific/h2/V1.26__case_insensitive_nick.sql
new file mode 100644
index 00000000..3b17aa00
--- /dev/null
+++ b/src/main/resources/db/specific/h2/V1.26__case_insensitive_nick.sql
@@ -0,0 +1 @@
+ALTER TABLE users ALTER COLUMN nick SET DATA TYPE VARCHAR_IGNORECASE(64)