Skip to content

armgit / ente

Public Imported from GitHub
0

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

Update schema

Neeraj Gupta99f4d4ca4db8
diff --git a/server/migrations/102_single_file_url.up.sql b/server/migrations/102_single_file_url.up.sql
index 3feae46c7f..5a1f55089a 100644
--- a/server/migrations/102_single_file_url.up.sql
+++ b/server/migrations/102_single_file_url.up.sql
@@ -10,7 +10,10 @@ CREATE TABLE IF NOT EXISTS public_file_tokens
device_limit int not null DEFAULT 0,
is_disabled bool not null DEFAULT FALSE,
enable_download bool not null DEFAULT TRUE,
- password_info JSONB,
+ pw_hash TEXT,
+ pw_nonce TEXT,
+ mem_limit BIGINT,
+ ops_limit BIGINT,
created_at bigint NOT NULL DEFAULT now_utc_micro_seconds(),
updated_at bigint NOT NULL DEFAULT now_utc_micro_seconds()
);