Added errors to migrations