I want to have a constraint in which I make sure that at least of two columns is not null. Basically, from those two columns, one must contain values.
How can I have a constraint like that? Is it possible on liquibase? If not, is it possible via SQL or some postgres specific thing?