Migration for new unique constraint