VerifySelf extension

Utilities verifying that the current schema of the database matches what the generated code expects.

on
  • GeneratedDatabase

Methods

validateDatabaseSchema({bool validateDropped = true}) Future<void>
Compares and validates the schema of the current database with what the generated code expects.