Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openmrs/openmrs-core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 41994b319aba
Choose a base ref
...
head repository: openmrs/openmrs-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4dfc37729dfd
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Mar 7, 2013

  1. Copy the full SHA
    167f705 View commit details
  2. Merge pull request #242 from dkayiwa/TRUNK-3909

    Liquibase fails to change column with foreign key in MySQL 5.6 - TRUNK-3909
    dkayiwa committed Mar 7, 2013
    2
    Copy the full SHA
    4dfc377 View commit details
Showing with 7 additions and 7 deletions.
  1. +7 −7 api/src/main/resources/liquibase-update-to-latest.xml
14 changes: 7 additions & 7 deletions api/src/main/resources/liquibase-update-to-latest.xml
Original file line number Diff line number Diff line change
@@ -34,13 +34,6 @@
<column name="edit_privilege" type="varchar(255)" />
</addColumn>
</changeSet>
<changeSet id="1-fix" author="sunbiz" dbms="mysql">
<preConditions onFail="MARK_RAN">
<columnExists tableName="person_attribute_type" columnName="edit_privilege"/>
</preConditions>
<comment>(Fixed)Modified edit_privilege to correct column size</comment>
<modifyDataType tableName="person_attribute_type" columnName="edit_privilege" newDataType="varchar(50)"/>
</changeSet>

<changeSet id="2" author="upul" dbms="mysql">
<preConditions onFail="MARK_RAN">
@@ -7028,9 +7021,12 @@
<comment>
Increasing the size of the edit_privilege column in the person_attribute_type table
</comment>
<dropForeignKeyConstraint baseTableName="person_attribute_type" constraintName="privilege_which_can_edit"/>
<ext:modifyColumn tableName="person_attribute_type">
<column name="edit_privilege" type="varchar(255)" />
</ext:modifyColumn>
<addForeignKeyConstraint baseTableName="person_attribute_type" baseColumnNames="edit_privilege" constraintName="privilege_which_can_edit"
referencedTableName="privilege" referencedColumnNames="privilege"/>
</changeSet>

<changeSet id="20120613-0930" author="wyclif">
@@ -7384,9 +7380,13 @@
<columnExists tableName="test_order" columnName="order_id"/>
</preConditions>
<comment>Removing auto increment from test_order.order_id column</comment>
<dropForeignKeyConstraint baseTableName="test_order" constraintName="test_order_order_id_fk"/>
<ext:modifyColumn tableName="test_order">
<column name="order_id" type="int" />
</ext:modifyColumn>
<addForeignKeyConstraint constraintName="test_order_order_id_fk"
baseTableName="test_order" baseColumnNames="order_id"
referencedTableName="orders" referencedColumnNames="order_id" />
</changeSet>

<changeSet id="20121020-TRUNK-3610" author="lluismf">