change column field in sql postgresql 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;