π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove unused notification history backfill
Neeraj Gupta75de9e6e4636
diff --git a/server/migrations/117_add_notification_history_group.up.sql b/server/migrations/117_add_notification_history_group.up.sqlindex 648b442e36..0e325e5bdd 100644--- a/server/migrations/117_add_notification_history_group.up.sql+++ b/server/migrations/117_add_notification_history_group.up.sql@@ -1,24 +1,6 @@ALTER TABLE notification_historyADD COLUMN IF NOT EXISTS notification_group TEXT;-UPDATE notification_history-SET notification_group = 'storage_warning_active_overage'-WHERE template_id IN (- 'family_storage_warning_active_overage',- 'family_storage_warning_active_overage_30d',- 'family_storage_warning_active_overage_60d',- 'family_storage_warning_active_overage_89d'-);--UPDATE notification_history-SET notification_group = 'storage_warning_expired'-WHERE template_id IN (- 'family_storage_warning_expired_30d',- 'family_storage_warning_expired_60d',- 'family_storage_warning_expired_90d',- 'family_storage_warning_expired_119d'-);-CREATE INDEX IF NOT EXISTS notification_history_user_template_sent_time_idxON notification_history(user_id, template_id, sent_time DESC);