Hello,
I thought it would be cool to have conditional check syntax, which gets converted to simple check constraint syntax.
Here’s a gist:
https://gist.github.com/aj0strow/5a07f2ddcad324c4dac2c4095c821999
It’s just sugar, but i think it would make check constraints easier to read, and easier to write without backwards boolean logic.
Thank you,
AJ