How to fix ERROR: new row for relation violates check constraint in PostgreSQL | DevErrors