models were refactored according to migrations