Adjust the drop constraint for mysql