From 384c61ceae3301c6bc92ee6f591ed9d186b15204 Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Sat, 6 Apr 2019 21:53:13 +0300
Subject: Message properties

---
 src/main/resources/db/migration/V1.19__messages_properties.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 src/main/resources/db/migration/V1.19__messages_properties.sql

(limited to 'src/main/resources/db/migration/V1.19__messages_properties.sql')

diff --git a/src/main/resources/db/migration/V1.19__messages_properties.sql b/src/main/resources/db/migration/V1.19__messages_properties.sql
new file mode 100644
index 00000000..2bb3baf2
--- /dev/null
+++ b/src/main/resources/db/migration/V1.19__messages_properties.sql
@@ -0,0 +1,6 @@
+CREATE TABLE messages_properties (
+  message_id int(10) unsigned NOT NULL,
+  property_key varchar(255) NOT NULL,
+  property_value mediumtext NOT NULL,
+  UNIQUE KEY message_key(message_id, property_key)
+)
\ No newline at end of file
-- 
cgit v1.2.3

