postgresql change column type
snippet in sql

postgresql change column type

user4186


        
            
        
     ALTER TABLE assets ALTER COLUMN name TYPE VARCHAR;

update column data type postgres

user7260

ALTER TABLE table_name
ALTER COLUMN column_name [SET DATA] TYPE new_data_type;