Skip to content

Table Reflection and missing triggers #503

Answered by dantownsend
theelderbeever asked this question in Q&A
Discussion options

You must be logged in to vote

I haven't personally come across it yet, but the error is being raised here:

raise ValueError("No matching trigger found")

The code is probably trying to work out the ON UPDATE and ON DELETE for a foreign key, and it's failing for some reason.

I think that bit of code needs changing, so it handles the exception gracefully, and instead outputs a warning.

Until a fix is released, you can patch your local version by changing that line of code, so it returns None instead of raising an exception.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dantownsend
Comment options

@theelderbeever
Comment options

Answer selected by theelderbeever
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants