[mob][photos] Remove log lines used for testing

This commit is contained in:
ashilkn 2024-05-24 14:39:16 +05:30
parent 637adb4617
commit 500d7da306

View file

@ -158,9 +158,6 @@ class FilesDB {
final currentVersion = result[0]['user_version'] as int;
final toVersion = migrationScripts.length;
_logger.info("currentVersion: $currentVersion");
_logger.info("toVersion: $toVersion");
if (currentVersion < toVersion) {
_logger.info("Migrating database from $currentVersion to $toVersion");
await database.writeTransaction((tx) async {
@ -171,8 +168,6 @@ class FilesDB {
});
} else if (currentVersion > toVersion) {
throw AssertionError("currentVersion cannot be greater than toVersion");
} else {
_logger.info("Database is already at version $toVersion");
}
}