Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for the ticket TRUNK-4198 #691

Closed
wants to merge 8 commits into from
Closed

Conversation

harsha89
Copy link
Contributor

@harsha89 harsha89 commented Mar 1, 2014

No description provided.

@@ -6754,6 +6754,17 @@
<comment>Rename orders.discontinued_date to date_stopped</comment>
<renameColumn tableName="orders" oldColumnName="discontinued_date" newColumnName="date_stopped" columnDataType="datetime"/>
</changeSet>
<changeSet id="201403011303-TRUNK-4198" author="harsha">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you split up these changesets into 2? One drops the foreign key constraint and the other drops the column, the reason for this is that in case teh key is dropped but dropping the column fails then the changeset can never be rerun after fixing the cause of the failure since the precondition would fail on subsequent reruns.

@harsha89 harsha89 closed this Mar 5, 2014
@harsha89 harsha89 deleted the TRUNK-4198 branch March 5, 2014 18:25
RandilaP pushed a commit to RandilaP/openmrs-core that referenced this pull request Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants