fixed removing a constraint causes the down migration to fail