From 56afc659e9e8e9b22ece74d5733e718f882da783 Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Thu, 22 Dec 2022 01:44:15 +0300
Subject: h2: baseline to 1.22

---
 src/main/resources/db/specific/h2/V1.24__fix_lastmessage.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/main/resources/db/specific/h2/V1.24__fix_lastmessage.sql')

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
index 399abf01..bcca2b50 100644
--- a/src/main/resources/db/specific/h2/V1.24__fix_lastmessage.sql
+++ b/src/main/resources/db/specific/h2/V1.24__fix_lastmessage.sql
@@ -1 +1,2 @@
-ALTER TABLE users MODIFY COLUMN lastmessage TIMESTAMP(6) NULL
\ No newline at end of file
+ALTER TABLE users ALTER COLUMN lastmessage SET NULL
+
-- 
cgit v1.2.3

