Renommer la colonne Postgres
ALTER TABLE customers
RENAME COLUMN name TO customer_name;
ALTER TABLE customers
RENAME COLUMN phone TO contact_phone;
Obnoxious Ocelot
ALTER TABLE customers
RENAME COLUMN name TO customer_name;
ALTER TABLE customers
RENAME COLUMN phone TO contact_phone;
ALTER TABLE table_name
RENAME column_name TO new_column_name;
ALTER TABLE table_name
RENAME COLUMN old_name TO new_name;
ALTER TABLE order_details
DROP COLUMN notes;