From 3c5cfe677e013e0bcf10d168c08ac37a93482583 Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Thu, 22 Dec 2022 21:42:30 +0300
Subject: User nick is case-insensitive

---
 .../resources/db/specific/postgresql/V1.26__case_insensitive_nick.sql    | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 src/main/resources/db/specific/postgresql/V1.26__case_insensitive_nick.sql

(limited to 'src/main/resources/db/specific/postgresql/V1.26__case_insensitive_nick.sql')

diff --git a/src/main/resources/db/specific/postgresql/V1.26__case_insensitive_nick.sql b/src/main/resources/db/specific/postgresql/V1.26__case_insensitive_nick.sql
new file mode 100644
index 00000000..a68c15f3
--- /dev/null
+++ b/src/main/resources/db/specific/postgresql/V1.26__case_insensitive_nick.sql
@@ -0,0 +1 @@
+ALTER TABLE users ALTER COLUMN nick TYPE character varying(64) COLLATE case_insensitive
-- 
cgit v1.2.3

