how to not add a column if a certain data alredy exists in table postgrers code example
Example: add column if not exists postgresql
ALTER TABLE table_name ADD COLUMN IF NOT EXISTS column_name INTEGER;
ALTER TABLE table_name ADD COLUMN IF NOT EXISTS column_name INTEGER;