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

Dropping the static status of a table produces dubious results? #103

Closed
iarna opened this issue Mar 29, 2012 · 1 comment
Closed

Dropping the static status of a table produces dubious results? #103

iarna opened this issue Mar 29, 2012 · 1 comment

Comments

@iarna
Copy link
Contributor

iarna commented Mar 29, 2012

In schema a, you have a table test, which is flagged static and has a row inserted into it. In schema b, you have table test, but it is not flagged static.

You ask sqldiff to show how to convert schema a into schema b.

Currently, sqldiff will issue DELETE statements for every row in test in schema a. However, seeing as test isn't under management in schema b, it seems to me that it shouldn't issue DELETEs for the table.

@aredridel
Copy link
Contributor

Agreed.

iarna added a commit to iarna/Modyllic that referenced this issue Apr 17, 2012
aredridel added a commit that referenced this issue Apr 17, 2012
#103 Converting from static to non-static no longer results in deleted rows
@iarna iarna closed this as completed Apr 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants