added on-demand database cleanup (date is hardcoded for the moment)

This commit is contained in:
Athou
2013-06-16 11:48:23 +02:00
parent 2b6ad62f03
commit 379e342e30
11 changed files with 91 additions and 23 deletions

View File

@@ -186,6 +186,28 @@
</preConditions>
<dropTable tableName="FEEDPUSHINFOS" />
</changeSet>
<changeSet author="athou" id="add-topic-hash">
<addColumn tableName="FEEDS">
<column name="push_topic_hash" type="VARCHAR(40)" />
</addColumn>
<createIndex tableName="FEEDS" indexName="push_topic_hash_index">
<column name="push_topic_hash"></column>
</createIndex>
</changeSet>
<changeSet author="athou" id="add-author">
<addColumn tableName="FEEDENTRIES">
<column name="author" type="VARCHAR(128)" />
</addColumn>
</changeSet>
<changeSet author="athou" id="add-inserted-index">
<createIndex tableName="FEEDENTRIES" indexName="inserted_index">
<column name="inserted"></column>
</createIndex>
</changeSet>
</databaseChangeLog>