How to alter a table in psql 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;