Only create indices with tables
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
This commit is contained in:
@@ -91,6 +91,9 @@
|
|||||||
</column>
|
</column>
|
||||||
<column name="error_message" type="${varchar_type}" />
|
<column name="error_message" type="${varchar_type}" />
|
||||||
</createTable>
|
</createTable>
|
||||||
|
<createIndex tableName="podcast_episode" indexName="idx_podcast_episode_url">
|
||||||
|
<column name="url"/>
|
||||||
|
</createIndex>
|
||||||
<rollback>
|
<rollback>
|
||||||
<dropTable tableName="podcast_episode" />
|
<dropTable tableName="podcast_episode" />
|
||||||
</rollback>
|
</rollback>
|
||||||
|
|||||||
@@ -206,6 +206,9 @@
|
|||||||
<createIndex tableName="album" indexName="idx_album_present" >
|
<createIndex tableName="album" indexName="idx_album_present" >
|
||||||
<column name="present"/>
|
<column name="present"/>
|
||||||
</createIndex>
|
</createIndex>
|
||||||
|
<createIndex tableName="album" indexName="idx_album_name">
|
||||||
|
<column name="name"/>
|
||||||
|
</createIndex>
|
||||||
<sql dbms="hsql">
|
<sql dbms="hsql">
|
||||||
set table album type cached
|
set table album type cached
|
||||||
</sql>
|
</sql>
|
||||||
@@ -213,16 +216,6 @@
|
|||||||
<dropTable tableName="album" />
|
<dropTable tableName="album" />
|
||||||
</rollback>
|
</rollback>
|
||||||
</changeSet>
|
</changeSet>
|
||||||
<changeSet id="schema47_005" author="muff1nman">
|
|
||||||
<preConditions onFail="MARK_RAN">
|
|
||||||
<not>
|
|
||||||
<indexExists indexName="idx_album_name" />
|
|
||||||
</not>
|
|
||||||
</preConditions>
|
|
||||||
<createIndex tableName="album" indexName="idx_album_name">
|
|
||||||
<column name="name"/>
|
|
||||||
</createIndex>
|
|
||||||
</changeSet>
|
|
||||||
<changeSet id="schema47_006" author="muff1nman">
|
<changeSet id="schema47_006" author="muff1nman">
|
||||||
<preConditions onFail="MARK_RAN">
|
<preConditions onFail="MARK_RAN">
|
||||||
<not>
|
<not>
|
||||||
|
|||||||
@@ -15,16 +15,6 @@
|
|||||||
</delete>
|
</delete>
|
||||||
</rollback>
|
</rollback>
|
||||||
</changeSet>
|
</changeSet>
|
||||||
<changeSet id="schema53_002" author="muff1nman">
|
|
||||||
<preConditions onFail="MARK_RAN">
|
|
||||||
<not>
|
|
||||||
<indexExists indexName="idx_podcast_episode_url" />
|
|
||||||
</not>
|
|
||||||
</preConditions>
|
|
||||||
<createIndex tableName="podcast_episode" indexName="idx_podcast_episode_url">
|
|
||||||
<column name="url"/>
|
|
||||||
</createIndex>
|
|
||||||
</changeSet>
|
|
||||||
<changeSet id="schema53_003" author="muff1nman">
|
<changeSet id="schema53_003" author="muff1nman">
|
||||||
<preConditions onFail="MARK_RAN">
|
<preConditions onFail="MARK_RAN">
|
||||||
<not>
|
<not>
|
||||||
|
|||||||
Reference in New Issue
Block a user