Everything you should know about PostgreSQL constraints · HackerTrans