aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/db/migration
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-04-06 21:53:13 +0300
committerGravatar Vitaly Takmazov2019-04-06 23:10:23 +0300
commit384c61ceae3301c6bc92ee6f591ed9d186b15204 (patch)
treec337cb96e242d81794999435b526e423a3fa6415 /src/main/resources/db/migration
parent347674599f4ee8e2682c8ab7a80d87e0080f310c (diff)
Message properties
Diffstat (limited to 'src/main/resources/db/migration')
-rw-r--r--src/main/resources/db/migration/V1.19__messages_properties.sql6
1 files changed, 6 insertions, 0 deletions
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