removed db constraints