upgrade method
Applies the migration if the current version is version.
If the current DB version is not version, this method MUST throw an exception.
All migration statements MUST be executed in a single transaction.
Implementation
@override
Future<void> upgrade(String version, Migration migration) async {
appliedMigrations.add(migration);
}