pub async fn migrate_postgres(pool: &PgPool) -> Result<()>Expand description
Postgres migration runner.
Applies every DDL pack up to and including the current
MIGRATION_VERSION (V1 then V2 today). Splits each pack into
individual statements (sqlx requires one statement per query),
executes each, then records (MODULE_NAME, MIGRATION_VERSION) into
engine.migrations. Idempotent — every CREATE uses IF NOT EXISTS.