A bunch of Postgres-type aliases are missing in the migrator. AutoMigrate performs an ALTER COLUMN even though the column already has the specified data type.
This PR adds the missing aliases, ensuring that the migrator doesn't execute the ALTER COLUMN statement, when the given column is already migrated.
The complete list of aliases is in Table 8.1 in the Postgres documentation here.
User Case Description
Adding these aliases ensures that ALTER COLUMN isn't performed when invoking AutoMigrate on a table, where the columns used one of the following types:
What did this pull request do?
A bunch of Postgres-type aliases are missing in the migrator. AutoMigrate performs an
ALTER COLUMN
even though the column already has the specified data type.This PR adds the missing aliases, ensuring that the migrator doesn't execute the
ALTER COLUMN
statement, when the given column is already migrated.The complete list of aliases is in Table 8.1 in the Postgres documentation here.
User Case Description
Adding these aliases ensures that ALTER COLUMN isn't performed when invoking AutoMigrate on a table, where the columns used one of the following types: