migrationsTableExists method

Future<bool> migrationsTableExists()
inherited

Implementation

Future<bool> migrationsTableExists() async {
  // If this is the first time we're running migrations, then the
  // migrations table won't exist.
  final tableExists = queryBuilder.tableExists(migrationsTable);
  final resTables = await adapter.query(tableExists);
  return resTables.isNotEmpty;
}