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

On delete cascade not working #394

Closed
josephmancuso opened this issue Feb 22, 2021 · 1 comment
Closed

On delete cascade not working #394

josephmancuso opened this issue Feb 22, 2021 · 1 comment
Labels
bug An existing feature is not working as intended

Comments

@josephmancuso
Copy link
Member

Describe the bug
On delete cascade seems to not be inside the migration for PostgresSQL

To Reproduce
Steps to reproduce the behavior:

  1. Create a migration with on_delete('cascade')
  2. Run migration
  3. SQL Should contain ON DELETE CASCADE but does not

Screenshots or code snippets
Screen Shot 2021-02-22 at 6 34 24 PM
Screen Shot 2021-02-22 at 6 32 51 PM

What database are you using?

  • Type: Postgres
  • Version: latest
  • Masonite ORM: latest
@josephmancuso josephmancuso added the bug An existing feature is not working as intended label Feb 22, 2021
@josephmancuso
Copy link
Member Author

Fixed in 1.0.30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An existing feature is not working as intended
Projects
None yet
Development

No branches or pull requests

1 participant