diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-06-13 19:22:25 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-06-13 19:22:25 +0200 |
commit | 60c0892466c8e48faba3e7bbe2b462c47aa032fa (patch) | |
tree | 9c64db24cfac03a62ef97a881d8cb6ba2737145c /src/main/resources/db | |
parent | 80fc431853a7105b2f1921de61d06f0fbd0cc51a (diff) |
Benki: Cache HTML renderings of posts in the database.
Change-Id: I3367ceb8769d354f64165d23ec7ed1f2155c4c49
Diffstat (limited to 'src/main/resources/db')
-rw-r--r-- | src/main/resources/db/changeLog-1.1.xml | 26 | ||||
-rw-r--r-- | src/main/resources/db/changeLog.xml | 1 |
2 files changed, 27 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> diff --git a/src/main/resources/db/changeLog.xml b/src/main/resources/db/changeLog.xml index bae8dda..7d346aa 100644 --- a/src/main/resources/db/changeLog.xml +++ b/src/main/resources/db/changeLog.xml @@ -7,5 +7,6 @@ http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.9.xsd"> <include file="db/changeLog-1.0.xml"/> + <include file="db/changeLog-1.1.xml"/> </databaseChangeLog> |