add index to migration and update schema