added index and account num
added migration
removed index on schema but put reference in model to allow migration in postgres