You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new "Clear DB" page makes use of SET FOREIGN_KEY_CHECKS to disable foreign key checks. This does not work with PostgreSQL and other databases. It fails with ProgrammingError at /silk/cleardb/: unrecognized configuration parameter "foreign_key_checks".
I think we should either a) duplicate all the logic inside of...
The new "Clear DB" page makes use of
SET FOREIGN_KEY_CHECKS
to disable foreign key checks. This does not work with PostgreSQL and other databases. It fails withProgrammingError at /silk/cleardb/: unrecognized configuration parameter "foreign_key_checks"
.I think we should either a) duplicate all the logic inside of...
django-silk/silk/management/commands/silk_clear_request_log.py
Line 12 in d4b4403
...into...
django-silk/silk/views/clear_db.py
Line 12 in b135b8e
...or b) call the command inside of the view.
If we can agree on the best method I can submit a pull request with a fix.
Thank you for taking a look at this!
The text was updated successfully, but these errors were encountered: