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

Does not seem to handle FK ON DELETE CASCADE change #12

Open
siyb opened this issue Apr 3, 2017 · 0 comments
Open

Does not seem to handle FK ON DELETE CASCADE change #12

siyb opened this issue Apr 3, 2017 · 0 comments

Comments

@siyb
Copy link

siyb commented Apr 3, 2017

Source:
TABLE "systemrole" CONSTRAINT "fk474jpkeb2oe23px6stixe16wh" FOREIGN KEY (id) REFERENCES role(id) ON DELETE CASCADE

Target:
TABLE "systemrole" CONSTRAINT "fk474jpkeb2oe23px6stixe16wh" FOREIGN KEY (id) REFERENCES role(id)

Command:

dbdiff -l drop $TARGET $SOURCE

Result:

Alter table statements containing not mention of ON DELETE CASCADE

Expected Result:

Alter table statements containing ON DELETE CASCADE changes (drop / recreate for instance)

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

1 participant