aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/db/specific
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/db/specific')
-rw-r--r--src/main/resources/db/specific/h2/V1.24__fix_lastmessage.sql1
-rw-r--r--src/main/resources/db/specific/mariadb/V1.24__fix_lastmessage.sql1
-rw-r--r--src/main/resources/db/specific/postgresql/V1.24__fix_lastmessage.sql1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/main/resources/db/specific/h2/V1.24__fix_lastmessage.sql b/src/main/resources/db/specific/h2/V1.24__fix_lastmessage.sql
new file mode 100644
index 00000000..399abf01
--- /dev/null
+++ b/src/main/resources/db/specific/h2/V1.24__fix_lastmessage.sql
@@ -0,0 +1 @@
+ALTER TABLE users MODIFY COLUMN lastmessage TIMESTAMP(6) NULL \ No newline at end of file
diff --git a/src/main/resources/db/specific/mariadb/V1.24__fix_lastmessage.sql b/src/main/resources/db/specific/mariadb/V1.24__fix_lastmessage.sql
new file mode 100644
index 00000000..399abf01
--- /dev/null
+++ b/src/main/resources/db/specific/mariadb/V1.24__fix_lastmessage.sql
@@ -0,0 +1 @@
+ALTER TABLE users MODIFY COLUMN lastmessage TIMESTAMP(6) NULL \ No newline at end of file
diff --git a/src/main/resources/db/specific/postgresql/V1.24__fix_lastmessage.sql b/src/main/resources/db/specific/postgresql/V1.24__fix_lastmessage.sql
new file mode 100644
index 00000000..ba3eee8c
--- /dev/null
+++ b/src/main/resources/db/specific/postgresql/V1.24__fix_lastmessage.sql
@@ -0,0 +1 @@
+ALTER TABLE users ALTER COLUMN lastmessage TYPE timestamp with time zone \ No newline at end of file