All Entries
Loading your collection…
Enter your Supabase credentials. Saved in your browser — once per device.
ALTER TABLE life_collected ADD COLUMN IF NOT EXISTS date_acquired date;
ALTER TABLE life_collected ADD COLUMN IF NOT EXISTS date_finished date;
ALTER TABLE life_collected ADD COLUMN IF NOT EXISTS word_count int;
ALTER TABLE life_collected ADD COLUMN IF NOT EXISTS chapters jsonb DEFAULT '[]';
CREATE TABLE IF NOT EXISTS writing_entries (
id uuid DEFAULT gen_random_uuid() PRIMARY KEY,
title text, genre text, word_count int, status text,
notes text, chapters jsonb DEFAULT '[]',
photo_url text, journal_log jsonb DEFAULT '[]',
created_at timestamptz DEFAULT now()
);
CREATE TABLE IF NOT EXISTS quote_entries (
id uuid DEFAULT gen_random_uuid() PRIMARY KEY,
quote_text text NOT NULL, attributed_to text,
source_title text, source_type text, notes text,
created_at timestamptz DEFAULT now()
);
-- Only run these if you haven't already:
-- ALTER TABLE writing_entries ENABLE ROW LEVEL SECURITY;
-- CREATE POLICY "Allow all" ON writing_entries FOR ALL USING (true) WITH CHECK (true);
-- ALTER TABLE quote_entries ENABLE ROW LEVEL SECURITY;
-- CREATE POLICY "Allow all" ON quote_entries FOR ALL USING (true) WITH CHECK (true);
This section is private. Enter your password to continue.