-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v1] Ignore alter table statement to add foreign key in schema file (#69
) * Update memefish to parse alter table to add a foreign key * Ignore alter table statement to add a foreign key when parsing schema file. Spanner schema may contain alter table statements to add foreign keys. For example, GetDatabaseDdl of spanner admin API seems to return such statement when table A has a foreign key that references table B and B's name comes later in alphabetical order than A. Such statements should not prevent yo from generating go code.
- Loading branch information
Showing
3 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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