Changed model relationships and added orders/index
Updated db structure