π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[server] Update DB Script
Neeraj Gupta27eb5ecc2bc2
diff --git a/server/migrations/89_derived_data_table.down.sql b/server/migrations/89_derived_data_table.down.sqlindex 1d39d0663f..024a1da670 100644--- a/server/migrations/89_derived_data_table.down.sql+++ b/server/migrations/89_derived_data_table.down.sql@@ -3,4 +3,7 @@ DROP INDEX IF EXISTS idx_file_data_user_type_deleted;DROP TABLE IF EXISTS file_data;-DROP TYPE IF EXISTS file_data_type;\ No newline at end of file+DROP TYPE IF EXISTS file_data_type;++-- Delete triggers+DROP TRIGGER IF EXISTS check_no_common_entries ON file_data;\ No newline at end of filediff --git a/server/migrations/89_derived_data_table.up.sql b/server/migrations/89_derived_data_table.up.sqlindex 042f46c564..53b0ae95f3 100644--- a/server/migrations/89_derived_data_table.up.sql+++ b/server/migrations/89_derived_data_table.up.sql@@ -1,5 +1,5 @@-- Create the derived table-CREATE TABLE file_data+CREATE TABLE IF NOT EXISTS file_data(file_id BIGINT NOT NULL,user_id BIGINT NOT NULL,