store normalized urls

This commit is contained in:
Athou
2013-07-02 14:33:53 +02:00
parent d8a9022c97
commit f230ad74b1
6 changed files with 67 additions and 1 deletions

View File

@@ -243,5 +243,18 @@
<column name="queryTimeout" valueNumeric="0"></column>
</update>
</changeSet>
<changeSet author="athou" id="add-normalized-url">
<addColumn tableName="FEEDS">
<column name="normalizedUrl" type="VARCHAR(2048)" />
</addColumn>
<addColumn tableName="FEEDS">
<column name="normalizedUrlHash" type="VARCHAR(40)" />
</addColumn>
<createIndex indexName="norm_url_hash_index" tableName="FEEDS"
unique="false">
<column name="normalizedUrlHash" />
</createIndex>
</changeSet>
</databaseChangeLog>