parser: fix compatibility for OnDelete,OnUpdate clauses#393
Merged
Conversation
Contributor
Author
|
I realized a similar PR has been already merged when I tried to fix merge conflict. |
Contributor
Author
added 2 commits
July 25, 2019 13:10
Codecov Report
@@ Coverage Diff @@
## master #393 +/- ##
==========================================
+ Coverage 70.17% 70.22% +0.04%
==========================================
Files 32 32
Lines 7437 7448 +11
==========================================
+ Hits 5219 5230 +11
Misses 1703 1703
Partials 515 515
Continue to review full report at Codecov.
|
tangenta
pushed a commit
to tangenta/parser
that referenced
this pull request
Nov 18, 2019
tangenta
added a commit
that referenced
this pull request
Nov 20, 2019
eurekaka
pushed a commit
to eurekaka/parser
that referenced
this pull request
Nov 20, 2019
eurekaka
added a commit
that referenced
this pull request
Nov 21, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
fix compatibility for
OnDelete,OnUpdateclausesthis pr support following syntax:
reference_definition:
REFERENCES tbl_name (key_part,...)
[MATCH FULL | MATCH PARTIAL | MATCH SIMPLE]
[ON DELETE reference_option]
[ON UPDATE reference_option]
reference_option:
RESTRICT | CASCADE | SET NULL | NO ACTION | SET DEFAULT
What is changed and how it works?
Check List
Tests
Code changes
Side effects
Related changes