loadActiveHistory method
Loads only the currently active apply records.
Implementation
List<SqliteMigrationRecord> loadActiveHistory(sqlite.Database database) {
final history = loadHistory(database);
final activeNames = _activeMigrationNames(history);
return history
.where((record) => record.isApply && activeNames.contains(record.name))
.toList(growable: false);
}