Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
rhbz912583 update database to change project type 'raw' to 'file'
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmason committed Feb 21, 2013
1 parent a591be0 commit 3070062
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions zanata-war/src/main/resources/db/changelogs/db.changelog-2.2.xml
Expand Up @@ -42,7 +42,7 @@
</column>
</addColumn>
</changeSet>

<changeSet id="4" author="alex.eng@redhat.com">
<comment>Add HProject_Validation table.</comment>
<createTable tableName="HProject_Validation">
Expand All @@ -59,7 +59,7 @@
referencedTableName="HProject" referencedColumnNames="id"
baseTableName="HProject_Validation" baseColumnNames="projectId"/>
</changeSet>

<changeSet id="5" author="alex.eng@redhat.com">
<comment>Add overrideValidations column to HProject</comment>
<addColumn tableName="HProject">
Expand Down Expand Up @@ -99,4 +99,17 @@
</column>
</addColumn>
</changeSet>

<changeSet id="3" author="damason@redhat.com">
<comment>Change project type from Raw to File in HProject and HProjectIteration.</comment>
<update tableName="HProject" >
<column name="defaultProjectType" value="File"/>
<where>defaultProjectType = 'Raw'</where>
</update>
<update tableName="HProjectIteration" >
<column name="projectType" value="File"/>
<where>projectType = 'Raw'</where>
</update>
</changeSet>

</databaseChangeLog>

0 comments on commit 3070062

Please sign in to comment.