SchemaVerifier constructor
SchemaVerifier(
- SchemaInstantiationHelper helper, {
- void setup(
- Database raw
Creates a schema verifier for the drift-generated helper
.
See tests for more information.
The optional setup
parameter is used internally by the verifier for
every database connection it opens. This can be used to, for instance,
register custom functions expected by your database.
Implementation
factory SchemaVerifier(
SchemaInstantiationHelper helper, {
void Function(Database raw)? setup,
}) = VerifierImplementation;