add indexes to the database, prepare to migrations