[#982] add index to package_extra_revision on package_id, current

Create a migration to fix #982