From 6424bd209cb2f12c34287c7ddf6671553eac843f Mon Sep 17 00:00:00 2001 From: David Date: Sun, 15 Mar 2020 20:42:30 +0100 Subject: [PATCH] sqflite_sqlcipher dependency --- extras/encryption/lib/encrypted_moor.dart | 2 +- extras/encryption/pubspec.yaml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/extras/encryption/lib/encrypted_moor.dart b/extras/encryption/lib/encrypted_moor.dart index 68196e79..83cb74c7 100644 --- a/extras/encryption/lib/encrypted_moor.dart +++ b/extras/encryption/lib/encrypted_moor.dart @@ -10,7 +10,7 @@ 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; +import 'package:sqflite_sqlcipher/sqflite.dart' as s; /// Signature of a function that runs when a database doesn't exist on file. /// This can be useful to, for instance, load the database from an asset if it diff --git a/extras/encryption/pubspec.yaml b/extras/encryption/pubspec.yaml index c052fdde..ac272f20 100644 --- a/extras/encryption/pubspec.yaml +++ b/extras/encryption/pubspec.yaml @@ -8,10 +8,7 @@ environment: dependencies: moor: ^2.0.0 - sqflite: - git: - url: https://www.github.com/davidmartos96/sqflite_sqlcipher.git - path: sqflite + sqflite_sqlcipher: ^1.0.0+3 dependency_overrides: moor: