pub async fn migrate_db(pool: Pool<Postgres>) -> Result<(), Error>
Migrates the database to the latest schema version.