π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove example seed data
ashilkn577c052226eb
diff --git a/mobile/apps/photos/lib/db/social_db.dart b/mobile/apps/photos/lib/db/social_db.dartindex 447cd931cf..7ecc178020 100644--- a/mobile/apps/photos/lib/db/social_db.dart+++ b/mobile/apps/photos/lib/db/social_db.dart@@ -617,282 +617,7 @@ class SocialDB {// ============ Debug Methods ============- Future<void> seedExampleData() async {- const collectionID1 = 1580559965370209;-- const collectionID2 = 1580559965494203;-- const fileID = 344651204;-- const userID1 = 1580559962687385;-- const userID2 = 1580559962405667;--// Seed example comments - Collection 1-- final exampleComments = [- Comment(- id: 'comment-1',- collectionID: collectionID1,- fileID: fileID,- data: 'A photo from Varkala!',- parentCommentID: null,- parentCommentUserID: null,- isDeleted: false,- userID: userID1,- anonUserID: null,- createdAt: 1764927602000000,- updatedAt: 1764927602000000,- ),-- Comment(- id: 'comment-2',- collectionID: collectionID1,- fileID: fileID,- data: 'Damn that looks nice π',- parentCommentID: 'comment-1',- parentCommentUserID: userID1,- isDeleted: false,- userID: userID2,- anonUserID: null,- createdAt: 1764928916000000,- updatedAt: 1764928916000000,- ),-- Comment(- id: 'comment-3',- collectionID: collectionID1,- fileID: fileID,- data: 'You should definitely visit Varkala π',- parentCommentID: 'comment-2',- parentCommentUserID: userID2,- isDeleted: false,- userID: userID1,- anonUserID: null,- createdAt: 1764929999000000,- updatedAt: 1764929999000000,- ),-- Comment(- id: 'comment-4',- collectionID: collectionID1,- fileID: fileID,- data: 'The sunset colors are incredible here!',- parentCommentID: null,- parentCommentUserID: null,- isDeleted: false,- userID: userID1,- anonUserID: null,- createdAt: 1764931000000000,- updatedAt: 1764931000000000,- ),-- Comment(- id: 'comment-5',- collectionID: collectionID1,- fileID: fileID,- data: 'What time of day was this taken?',- parentCommentID: 'comment-4',- parentCommentUserID: userID1,- isDeleted: false,- userID: userID2,- anonUserID: null,- createdAt: 1764932000000000,- updatedAt: 1764932000000000,- ),-- Comment(- id: 'comment-6',- collectionID: collectionID1,- fileID: fileID,- data: 'Around 6pm, golden hour β¨',- parentCommentID: 'comment-5',- parentCommentUserID: userID2,- isDeleted: false,- userID: userID1,- anonUserID: null,- createdAt: 1764933000000000,- updatedAt: 1764933000000000,- ),-- Comment(- id: 'comment-7',- collectionID: collectionID1,- fileID: fileID,- data: 'Is this near the cliff?',- parentCommentID: null,- parentCommentUserID: null,- isDeleted: false,- userID: userID2,- anonUserID: null,- createdAt: 1764934000000000,- updatedAt: 1764934000000000,- ),-- Comment(- id: 'comment-8',- collectionID: collectionID1,- fileID: fileID,- data: 'Yes! Right by the famous Varkala cliff ποΈ',- parentCommentID: 'comment-7',- parentCommentUserID: userID2,- isDeleted: false,- userID: userID1,- anonUserID: null,- createdAt: 1764935000000000,- updatedAt: 1764935000000000,- ),-- Comment(- id: 'comment-9',- collectionID: collectionID1,- fileID: fileID,- data: 'Adding this to my travel list',- parentCommentID: 'comment-7',- parentCommentUserID: userID2,- isDeleted: false,- userID: userID2,- anonUserID: null,- createdAt: 1764936000000000,- updatedAt: 1764936000000000,- ),-- Comment(- id: 'comment-10',- collectionID: collectionID1,- fileID: fileID,- data: 'Great composition πΈ',- parentCommentID: null,- parentCommentUserID: null,- isDeleted: false,- userID: userID2,- anonUserID: null,- createdAt: 1764937000000000,- updatedAt: 1764937000000000,- ),--// Collection 2 comments (same file, different conversation)-- Comment(- id: 'comment-c2-1',- collectionID: collectionID2,- fileID: fileID,- data: 'Perfect shot for the travel album!',- parentCommentID: null,- parentCommentUserID: null,- isDeleted: false,- userID: userID1,- anonUserID: null,- createdAt: 1764940000000000,- updatedAt: 1764940000000000,- ),-- Comment(- id: 'comment-c2-2',- collectionID: collectionID2,- fileID: fileID,- data: 'When was this trip?',- parentCommentID: 'comment-c2-1',- parentCommentUserID: userID1,- isDeleted: false,- userID: userID2,- anonUserID: null,- createdAt: 1764941000000000,- updatedAt: 1764941000000000,- ),-- Comment(- id: 'comment-c2-3',- collectionID: collectionID2,- fileID: fileID,- data: 'Last December, the weather was perfect',- parentCommentID: 'comment-c2-2',- parentCommentUserID: userID2,- isDeleted: false,- userID: userID1,- anonUserID: null,- createdAt: 1764942000000000,- updatedAt: 1764942000000000,- ),-- Comment(- id: 'comment-c2-4',- collectionID: collectionID2,- fileID: fileID,- data: 'We should plan a group trip there!',- parentCommentID: null,- parentCommentUserID: null,- isDeleted: false,- userID: userID2,- anonUserID: null,- createdAt: 1764943000000000,- updatedAt: 1764943000000000,- ),-- Comment(- id: 'comment-c2-5',- collectionID: collectionID2,- fileID: fileID,- data: 'Count me in! π',- parentCommentID: 'comment-c2-4',- parentCommentUserID: userID2,- isDeleted: false,- userID: userID1,- anonUserID: null,- createdAt: 1764944000000000,- updatedAt: 1764944000000000,- ),- ];--// Seed example reactions-- final exampleReactions = [- Reaction(- id: 'reaction-1',- collectionID: collectionID1,- fileID: null,- commentID: 'comment-1',- data: '',- isDeleted: false,- userID: userID2,- anonUserID: null,- createdAt: 1764929858000000,- updatedAt: 1764929858000000,- ),- Reaction(- id: 'reaction-2',- collectionID: collectionID1,- fileID: fileID,- commentID: null,- data: '',- isDeleted: false,- userID: userID1,- anonUserID: null,- createdAt: 1764929858000000,- updatedAt: 1764929858000000,- ),- Reaction(- id: 'reaction-3',- collectionID: collectionID1,- fileID: fileID,- commentID: null,- data: '',- isDeleted: false,- userID: userID2,- anonUserID: null,- createdAt: 1764929858000000,- updatedAt: 1764929858000000,- ),- ];-- await upsertComments(exampleComments);-- await upsertReactions(exampleReactions);-- _logger.info(- 'Seeded ${exampleComments.length} comments and ${exampleReactions.length} reactions',- );- }+ Future<void> seedExampleData() async {}// ============ Row Mappers ============