Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] add comment

ashilkne3ea22f479b2
diff --git a/mobile/lib/db/files_db.dart b/mobile/lib/db/files_db.dart
index e9fc70d458..03f5d832b8 100644
--- a/mobile/lib/db/files_db.dart
+++ b/mobile/lib/db/files_db.dart
@@ -74,6 +74,9 @@ class FilesDB {
// we need to write query based on that field
static const columnMMdVisibility = 'mmd_visibility';
+//If adding or removing a new column, make sure to update the `_columnNames` list
+//and update `_generateColumnsAndPlaceholdersForInsert` and
+//`_generateUpdateAssignmentsWithPlaceholders`
static final migrationScripts = [
...createTable(filesTable),
...alterDeviceFolderToAllowNULL(),