update db constraints [Finishes #75204444]