Skip to content

Catalog verifier: VerifySchemaKitAsync for the PostgreSQL kinds #30

Open

Description

@CaffeinatedCoder

Decided for 11.0.0, in preview.3. Plan, section 3.11.

Change

context.Database.VerifySchemaKitAsync() resolves the model's declarations and reads the catalog for each: existence, kind, keys, uniqueness, predicate; for a constraint its operators and deferrability; for an index its validity. Per object: Present, Missing, Different(facet), Unverifiable(reason). A contributor without an ICatalogProbe, or a role that cannot read the catalog, is Unverifiable, never clean. The catalog readers are the test oracle's (#32).

Done when

A database migrated without SchemaKit's differ is reported object by object, and a hand-altered predicate is reported as Different.

Activity

  1. added this to the 11.0.0 milestone on Nov 11, 2026
  2. added
    enhancement
    package/postgresql
    area/migrations
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/migrationsenhancementpackage/postgresql

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions