migrate method

Future<void> migrate()

Update SQLite structure with only new migrations.

Implementation

Future<void> migrate() async {
  final lastVersion = await sqliteProvider.lastMigrationVersion();
  final migrations = migrationManager.migrationsSince(lastVersion);

  return await sqliteProvider.migrate(migrations);
}