aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/db
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-10-17 06:17:31 +0300
committerGravatar Vitaly Takmazov2024-10-17 17:05:17 +0300
commit65baf5066433d6a52e30fbd6e7b32c4741ec0d55 (patch)
treea0fd5989db4b11a7f4c527fb2bb58002dfa1b476 /src/main/resources/db
parent5ab2f6aa9ae409e485d9106e8bff411c30602462 (diff)
`User::getLanguage`
Diffstat (limited to 'src/main/resources/db')
-rw-r--r--src/main/resources/db/migration/V1.51__cast_users_lang.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/resources/db/migration/V1.51__cast_users_lang.sql b/src/main/resources/db/migration/V1.51__cast_users_lang.sql
new file mode 100644
index 00000000..bb65a157
--- /dev/null
+++ b/src/main/resources/db/migration/V1.51__cast_users_lang.sql
@@ -0,0 +1,2 @@
+DROP CAST IF EXISTS (varchar AS public.users_lang);
+CREATE CAST (varchar AS public.users_lang) WITH INOUT AS IMPLICIT;