-
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
ALTER COLUMN SET DATA TYPE
SQL
Convert SQL statements of the form: ```sql ALTER TABLE foo ALTER COLUMN a [SET DATA] TYPE text ``` to the equivalent `pgroll` migration: ```json [ { "alter_column": { "column": "a", "down": "TODO: Implement SQL data migration", "table": "foo", "type": "text", "up": "TODO: Implement SQL data migration" } } ] ```
- Loading branch information
1 parent
9fde877
commit 5523009
Showing
3 changed files
with
47 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