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

delete post not working #70

Closed
thooyork opened this issue May 14, 2023 · 1 comment · Fixed by #77
Closed

delete post not working #70

thooyork opened this issue May 14, 2023 · 1 comment · Fixed by #77
Labels
bug Something isn't working

Comments

@thooyork
Copy link
Contributor

post deletion on /api/posts/delete/:id throws 500 in production environment.

@thooyork thooyork added the bug Something isn't working label May 14, 2023
@thooyork thooyork assigned thooyork and unassigned thooyork May 16, 2023
@thooyork
Copy link
Contributor Author

Fixed the deletion and the fk_constraint error with a workaround. Neither can I get onDelete: "CASCADE" to work - nor orphanedRowAction: "delete" on the DB level ...

@thooyork thooyork linked a pull request May 16, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant