PostgreSQL Cambio Valor predeterminado
ALTER TABLE ONLY users ALTER COLUMN lang SET DEFAULT 'en_GB';
Homeless Hare
ALTER TABLE ONLY users ALTER COLUMN lang SET DEFAULT 'en_GB';
ALTER TABLE users
ADD COLUMN "priv_user" BOOLEAN NOT NULL DEFAULT FALSE;
CREATE TABLE products (
product_no integer,
name text,
price numeric DEFAULT 9.99
);