diff options
author | Vitaly Takmazov | 2022-12-16 23:04:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-12-16 23:04:59 +0300 |
commit | a2fbac50db81649981f72c7ba1561f45146fcf9b (patch) | |
tree | 0454ebbba13350a960e646b6af0674411a24f7bd /src/main/resources/db | |
parent | 8dcf4801a0f5cb99c6485c37871e50ec6c83905e (diff) |
Fix `lastmessage` column
Diffstat (limited to 'src/main/resources/db')
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 |