startAt abstract method

Future<DatabaseConnection> startAt(
  1. int version
)

Creates a DatabaseConnection that contains empty tables created for the known schema version.

This is useful as a starting point for a schema migration test. You can use the DatabaseConnection returned to create an instance of your application database, which can then be migrated through migrateAndValidate.

If you want to insert data in a migration test, use schemaAt.

Implementation

Future<DatabaseConnection> startAt(int version);