Allow owners to turn on an auto-generated access password when sharing a note. Visitors must unlock the share page before reading the note or its attachments; existing public links stay open until a password is enabled.
7 lines
293 B
SQL
7 lines
293 B
SQL
PRAGMA foreign_keys = ON;
|
|
|
|
ALTER TABLE memo_shares ADD COLUMN password_hash TEXT;
|
|
ALTER TABLE memo_shares ADD COLUMN unlock_failed_count INTEGER NOT NULL DEFAULT 0;
|
|
ALTER TABLE memo_shares ADD COLUMN unlock_window_started_at TEXT;
|
|
ALTER TABLE memo_shares ADD COLUMN unlock_blocked_until TEXT;
|