Libraries
    Preparing search index...

    Function validateEntitiesAgainstDatabase

    • Validate entity schemas against a live database without changing anything.

      This is the read-only counterpart to db push: it checks every registered entity table, including class-table-inheritance variant tables, and reports missing tables or schema drift.

      Parameters

      • knex: Knex

        A configured Knex instance or transaction.

      • entities: Entity<any, any, never>[]

        The entity definitions to validate.

      Returns Promise<EntitySchemaValidationResult>

      A validation result with all detected issues.