We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Most times if you ar truncating and have foreign keys it will throw an error so need a way to disable foreign key checks when truncating
The text was updated successfully, but these errors were encountered:
Needs these 2 new methods on the schema class:
Schema.disable_foreign_key_constraints() Schema.enable_foreign_key_constraints()
and possibly one method that does all of it in 1:
Schema.truncate_without_foreign_keys()
or maybe even:
Schema.truncate(foreign_keys=False)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Most times if you ar truncating and have foreign keys it will throw an error so need a way to disable foreign key checks when truncating
The text was updated successfully, but these errors were encountered: