Migrations

This change:

- Upgrades the migrations plugin
- Adds a missing index for the packages table
- updates the collation on a field in the packages table
- regenerates the schema
- runs pending migrations on deploy (sans rollback because if we are rolling back a db, we are already fucked)