Skip to content

Adding a dropForeign() instead of an additional dropColumn() for the FK#59

Open
jdavidbakr wants to merge 1 commit intolaracasts:masterfrom
jdavidbakr:issue21-duplicate-dropColumn
Open

Adding a dropForeign() instead of an additional dropColumn() for the FK#59
jdavidbakr wants to merge 1 commit intolaracasts:masterfrom
jdavidbakr:issue21-duplicate-dropColumn

Conversation

@jdavidbakr
Copy link
Copy Markdown

Added a test when creating the dropColumn() schema to make sure the column is not a foreign key. If it is, then we will create the appropriate dropForeign() schema instead.

@jdavidbakr
Copy link
Copy Markdown
Author

Fixes issue #21

@stamp
Copy link
Copy Markdown
Contributor

stamp commented Mar 23, 2017

Is there any reason why this haven't been merged yet? I keep running in to this bug almost every day and its a little frustrating.

Loves the generators by the way! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants