pub async fn create_schema_v2_tables(
backend: &dyn StorageBackend,
) -> Result<(), Status>Expand description
Creates all schema-v2 tables and migrates pre-v2 metrics tables in place.
metrics is created with the v2 schema; calibration_params and
decision_batches are created fresh. On databases initialized before v2,
the new metrics columns are added with ALTER TABLE ... IF NOT EXISTS
(a no-op on fresh v2 tables); existing rows read back with empty
labels/no tenant.