PostgreSQL изменение типа столбца
ALTER TABLE assets ALTER COLUMN name TYPE VARCHAR;
Outrageous Opossum
ALTER TABLE assets ALTER COLUMN name TYPE VARCHAR;
ALTER TABLE table_name
ALTER COLUMN column_name [SET DATA] TYPE new_data_type;
ALTER TABLE table_name
ALTER COLUMN column_name [SET DATA] TYPE new_data_type;
Code language: CSS (css)