anchor.diff:      delegate.db.transaction((transaction) async {
         final executor = _SqfliteTransactionExecutor(transaction);
         await run(executor);
  +    }).catchError((_) {
  +      // Ignore the error! We send a fake exception to indicate a rollback.
  +      // sqflite will rollback, but the exception will bubble up. Here we stop
  +      // the exception.
       });
     }
   }
  
positive.code: /// library.
  library encrypted_moor;
  
  import 'dart:async';
  import 'package:meta/meta.dart';
  import 'package:path/path.dart';
  import 'package:moor/moor.dart';
  import 'package:moor/backends.dart';
  import 'package:sqflite/sqflite.dart' as s;
  
  class _SqfliteDelegate extends DatabaseDelegate with _SqfliteExecutor {
    int _loadedSchemaVersion;
  
negative.code:       onUpgrade: (db, from, to) {
          _loadedSchemaVersion = from;
        },
        singleInstance: singleInstance,
      );
    }
  
    @override
    Future<void> close() {
      return db.close();
    }
  }
  
  