summaryrefslogtreecommitdiff
path: root/src/main/resources/db/changeLog-1.1.xml
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-06-13 19:22:25 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-06-13 19:22:25 +0200
commit60c0892466c8e48faba3e7bbe2b462c47aa032fa (patch)
tree9c64db24cfac03a62ef97a881d8cb6ba2737145c /src/main/resources/db/changeLog-1.1.xml
parent80fc431853a7105b2f1921de61d06f0fbd0cc51a (diff)
Benki: Cache HTML renderings of posts in the database.
Change-Id: I3367ceb8769d354f64165d23ec7ed1f2155c4c49
Diffstat (limited to 'src/main/resources/db/changeLog-1.1.xml')
-rw-r--r--src/main/resources/db/changeLog-1.1.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/main/resources/db/changeLog-1.1.xml b/src/main/resources/db/changeLog-1.1.xml
new file mode 100644
index 0000000..b32f983
--- /dev/null
+++ b/src/main/resources/db/changeLog-1.1.xml
@@ -0,0 +1,26 @@
+<?xml version="1.1" encoding="UTF-8" standalone="no"?>
+<databaseChangeLog
+ xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.liquibase.org/xml/ns/dbchangelog
+ http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.9.xsd">
+
+ <changeSet author="mulk" id="1.1-1">
+ <addColumn tableName="lazychat_messages" schemaName="benki">
+ <column name="cached_description_html" type="varchar"/>
+ <column name="cached_description_version" type="integer"/>
+ </addColumn>
+
+ <addColumn tableName="bookmarks" schemaName="benki">
+ <column name="cached_description_html" type="varchar"/>
+ <column name="cached_description_version" type="integer"/>
+ </addColumn>
+
+ <addColumn tableName="posts" schemaName="benki">
+ <column name="cached_description_html" type="varchar"/>
+ <column name="cached_description_version" type="integer"/>
+ </addColumn>
+ </changeSet>
+
+</databaseChangeLog>