Adds migration methods to manage constraints in PostgreSQL.