Files
g-butandClaude Opus 4.5 1c7abeebac docs(claude): add global standards reference and update date
- Add @~/.claude/CLAUDE.md import for global engineering standards
- Update Last Updated date to 2026-01-23

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 15:22:36 +01:00

24 lines
741 B
SQL

-- Waitlist table for early signups
CREATE TABLE IF NOT EXISTS waitlist (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
email TEXT NOT NULL UNIQUE,
preferences JSONB DEFAULT '{}'::jsonb,
created_at TIMESTAMPTZ DEFAULT NOW()
);
-- Enable RLS
ALTER TABLE waitlist ENABLE ROW LEVEL SECURITY;
-- Allow anonymous inserts (public waitlist)
CREATE POLICY "Allow anonymous insert" ON waitlist
FOR INSERT TO anon
WITH CHECK (true);
-- Allow authenticated users to read their own entries by email (optional)
-- NOTE: Matching by email requires the same email as auth identity; typically we don't expose read.
-- Keeping SELECT closed unless via service role.
COMMENT ON TABLE waitlist IS 'Public waitlist signups with preferences';