diff options
author | Vitaly Takmazov | 2018-08-14 13:23:53 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-08-14 16:45:12 +0300 |
commit | 2c1bfab10903895ece9644bc095597aaef2a75e8 (patch) | |
tree | c721f8582e2b9f1d91ab88ce7d3dfb6cd7e9d2d5 /juick-server/src/main/resources/db/migration | |
parent | c0ac4aa5824b45ff9543f60c648625869b11b1a3 (diff) |
Message editing API
Diffstat (limited to 'juick-server/src/main/resources/db/migration')
-rw-r--r-- | juick-server/src/main/resources/db/migration/V1.1__Add updated_at field.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-server/src/main/resources/db/migration/V1.1__Add updated_at field.sql b/juick-server/src/main/resources/db/migration/V1.1__Add updated_at field.sql new file mode 100644 index 00000000..dac179b1 --- /dev/null +++ b/juick-server/src/main/resources/db/migration/V1.1__Add updated_at field.sql @@ -0,0 +1,2 @@ +ALTER TABLE messages_txt ADD COLUMN updated_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP; +ALTER TABLE replies ADD COLUMN updated_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP; |