From 2c1bfab10903895ece9644bc095597aaef2a75e8 Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Tue, 14 Aug 2018 13:23:53 +0300
Subject: Message editing API

---
 .../src/main/resources/db/migration/V1.1__Add updated_at field.sql      | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 juick-server/src/main/resources/db/migration/V1.1__Add updated_at field.sql

(limited to 'juick-server/src/main/resources/db/migration/V1.1__Add updated_at field.sql')

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;
-- 
cgit v1.2.3

