pub async fn migrate(
conn: &impl ConnectionTrait,
app: &App,
) -> Result<(), Error>Expand description
Bring the database in line with every resource in the app.
Three additive passes, all idempotent: create missing tables, add missing
columns, then add missing foreign-key constraints for reference fields.
FKs come last so every referenced table already exists.