Skip to content

sqlparser: capture FOREIGN KEY constraints in AST#4085

Merged
sougou merged 1 commit intovitessio:masterfrom
dt:fk
Jul 12, 2018
Merged

sqlparser: capture FOREIGN KEY constraints in AST#4085
sougou merged 1 commit intovitessio:masterfrom
dt:fk

Conversation

@dt
Copy link
Copy Markdown
Contributor

@dt dt commented Jul 12, 2018

This extends the parser to capture CONSTRAINT ... FOREIGN KEY... lines
in table specifications.

Signed-off-by: David Taylor tinystatemachine@gmail.com

Copy link
Copy Markdown
Contributor

@sougou sougou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can merge after you resolve the conflict (need to regen sql.go).

This extends the parser to capture `CONSTRAINT ... FOREIGN KEY...` lines
in table specifications.

Signed-off-by: David Taylor <tinystatemachine@gmail.com>
@dt
Copy link
Copy Markdown
Contributor Author

dt commented Jul 12, 2018

Thanks, rebased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants