diff --git a/crates/picloud/tests/api.rs b/crates/picloud/tests/api.rs index 852e380..e9791c3 100644 --- a/crates/picloud/tests/api.rs +++ b/crates/picloud/tests/api.rs @@ -891,12 +891,12 @@ async fn version_includes_public_base_url(pool: PgPool) { assert!(v["public_base_url"].is_string()); assert_eq!(v["api"], 1); // `schema` is migrations::latest_version() — the highest embedded - // migration number. Bumped to 42 by audit 2026-06-11's - // 0042_secrets_envelope_version.sql (H-D1). Both this and `sdk` had - // rotted (pinned at 6 / "1.1" while the codebase moved to 41 / "1.10") - // because the test is #[ignore]-gated; pinned to current reality so - // unintended changes are still caught. - assert_eq!(v["schema"], 42); + // migration number, currently 63 (…0060_group_suppressions .. + // 0063_materialized_unique from the v1.2 template track). This test is + // #[ignore]-gated so it doesn't run in the default `cargo test`; pinned to + // current reality so an unintended schema change is still caught. Bump it + // whenever a migration lands. + assert_eq!(v["schema"], 63); assert_eq!(v["sdk"], "1.10"); }