Met Postgres 9.6 kan dit met de optie if not exists:
ALTER TABLE table_name ADD COLUMN IF NOT EXISTS column_name INTEGER; Met Postgres 9.6 kan dit met de optie if not exists:
ALTER TABLE table_name ADD COLUMN IF NOT EXISTS column_name INTEGER;