Postgres establece 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;
ALTER TABLE users
ADD COLUMN "priv_user" BOOLEAN DEFAULT FALSE;
CREATE TABLE products (
product_no integer,
name text,
price numeric DEFAULT 9.99
);