Remove some sql constraints