From 99f4d4ca4db8227d60366a937151f95474436752 Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Wed, 16 Jul 2025 10:56:12 +0530 Subject: [PATCH] Update schema --- server/migrations/102_single_file_url.up.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() );