Updated db constraints.