-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert
DROP NOT NULL
SQL to pgroll operation (#505)
Update the `sql2pgroll` package to convert SQL like: ```sql ALTER TABLE foo ALTER COLUMN a DROP NOT NULL ``` to the equivalent `pgroll` operation: ```json [ { "alter_column": { "column": "a", "down": "TODO: Implement SQL data migration", "nullable": true, "table": "foo", "up": "TODO: Implement SQL data migration" } } ] ```
- Loading branch information
1 parent
f85bca4
commit 84661eb
Showing
3 changed files
with
17 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