S Postgres 9.6 to lze provést pomocí volby if not exists
ALTER TABLE table_name ADD COLUMN IF NOT EXISTS column_name INTEGER;
S Postgres 9.6 to lze provést pomocí volby if not exists
ALTER TABLE table_name ADD COLUMN IF NOT EXISTS column_name INTEGER;