summaryrefslogtreecommitdiff
path: root/supabase
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-10 01:08:11 -0800
committerFuwn <[email protected]>2026-02-10 01:08:11 -0800
commit920d22332069f1ca60740c290173a95846fb38c3 (patch)
tree5909cecde94bf1acd83385a5b3d789175f2713f0 /supabase
parentfix: service worker cross-origin image handling and CI env vars (diff)
downloadasa.news-920d22332069f1ca60740c290173a95846fb38c3.tar.xz
asa.news-920d22332069f1ca60740c290173a95846fb38c3.zip
feat: scoped mark-all-read, share enhancements, notification z-index
- Mark all as read now scopes to current feed/folder instead of all - Added undo button to mark-all-read toast notification - Share notes can be toggled between public and private visibility - Track share view count and display in shares list - Activity-based share expiry: views reset the expiry timer - Fixed notification panel z-index layering behind content area
Diffstat (limited to 'supabase')
-rw-r--r--supabase/schema.sql10
1 files changed, 7 insertions, 3 deletions
diff --git a/supabase/schema.sql b/supabase/schema.sql
index 828ffc6..4f61f0b 100644
--- a/supabase/schema.sql
+++ b/supabase/schema.sql
@@ -2,7 +2,7 @@
-- PostgreSQL database dump
--
--- \restrict x5c7hoIeZadeb9vWOL0aN2XhOidKEkcJTCLPxElLQoDi4K0JeM3w2RYCHdK42ij
+-- \restrict dG3SzK2uS18gU4m6KVz2cn807h79RHaJThBHm9wHtsku5jl48o1kEUpbawNImmT
-- Dumped from database version 17.6
-- Dumped by pg_dump version 17.6
@@ -1269,7 +1269,11 @@ CREATE TABLE IF NOT EXISTS "public"."shared_entries" (
"highlight_text_offset" integer,
"highlight_text_length" integer,
"highlight_text_prefix" "text" DEFAULT ''::"text",
- "highlight_text_suffix" "text" DEFAULT ''::"text"
+ "highlight_text_suffix" "text" DEFAULT ''::"text",
+ "note_is_public" boolean DEFAULT false NOT NULL,
+ "view_count" integer DEFAULT 0 NOT NULL,
+ "last_viewed_at" timestamp with time zone,
+ "expiry_interval_days" integer DEFAULT 7 NOT NULL
);
@@ -3682,5 +3686,5 @@ ALTER DEFAULT PRIVILEGES FOR ROLE "postgres" IN SCHEMA "public" GRANT ALL ON TAB
-- PostgreSQL database dump complete
--
--- \unrestrict x5c7hoIeZadeb9vWOL0aN2XhOidKEkcJTCLPxElLQoDi4K0JeM3w2RYCHdK42ij
+-- \unrestrict dG3SzK2uS18gU4m6KVz2cn807h79RHaJThBHm9wHtsku5jl48o1kEUpbawNImmT