π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[server] Add index on file_data(user_id,updated_at)
Neeraj Gupta792353bb9e2a
diff --git a/server/migrations/97_file_data_user_update_idx.down.sql b/server/migrations/97_file_data_user_update_idx.down.sqlnew file mode 100644index 0000000000..848321602e--- /dev/null+++ b/server/migrations/97_file_data_user_update_idx.down.sql@@ -0,0 +1 @@+DROP INDEX CONCURRENTLY IF EXISTS idx_file_data_user_updated;diff --git a/server/migrations/97_file_data_user_update_idx.up.sql b/server/migrations/97_file_data_user_update_idx.up.sqlnew file mode 100644index 0000000000..b0dc8ae140--- /dev/null+++ b/server/migrations/97_file_data_user_update_idx.up.sql@@ -0,0 +1,2 @@+CREATE INDEX CONCURRENTLY idx_file_data_user_updated+ ON file_data (user_id, updated_at);