postgres alter column using code example
Example: alter column in table postgres
ALTER TABLE table_name
ALTER COLUMN column_name TYPE column_definition;
ALTER TABLE table_name
ALTER COLUMN column_name TYPE column_definition;