-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert column
DEFAULT
s in CREATE TABLE
Convert inline `DEFAULT` values in `CREATE TABLE` statements like this: ```sql CREATE TABLE foo(a text DEFAULT 'foo') ``` into `OpCreateTable` operations like this: ```json [ { "create_table": { "columns": [ { "default": "'foo'", "name": "a", "nullable": true, "type": "text" } ], "name": "foo" } } ] ```
- Loading branch information
1 parent
5450d7a
commit 042257a
Showing
3 changed files
with
24 additions
and
0 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