Permalink
Browse files

diff/push: Fix handling of foreign key NO ACTION clauses

If a foreign key definition contained an "ON {UPDATE|DELETE} NO ACTION"
clause, Skeema would erroneously flag the table as using an unsupported
feature, preventing `skeema diff` and `skeema push` from operating on the
table. This bug affected all database flavors except for MySQL 8.

The actual fix (and corresponding test logic) is in
skeema/tengo@9139dc8, so this commit just updates
the dep.

Fixes #50. Thank you to @mugli for the bug report!
  • Loading branch information...
evanelias committed Dec 4, 2018
1 parent a8a3d88 commit 0f1e67dd96ea0e267910d3d626232c9ac7a39138
Showing with 8 additions and 7 deletions.
  1. +2 −2 Gopkg.lock
  2. +6 −5 vendor/github.com/skeema/tengo/foreignkey.go

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 0f1e67d

Please sign in to comment.