test-repo/scripts/create-blog-messages.sql
Matt Bruce 9cfd7843b8 docs: memory and task CRUD scripts
- Add gantt task CRUD bash and TypeScript utilities
- Update MEMORY.md with CRUD capabilities and rules
- Update daily memory with subagent completions
- Document: full task links, attach-then-delete rule
2026-02-21 16:32:24 -06:00

20 lines
518 B
SQL

-- Create blog_messages table for blog-backup app
-- Uses same Supabase project as gantt-board
CREATE TABLE IF NOT EXISTS blog_messages (
id TEXT PRIMARY KEY,
date DATE NOT NULL,
content TEXT NOT NULL,
timestamp BIGINT NOT NULL,
created_at TIMESTAMPTZ DEFAULT NOW()
);
-- Disable RLS for now (same as gantt-board)
ALTER TABLE blog_messages DISABLE ROW LEVEL SECURITY;
-- Insert existing data from messages.json
-- (Data will be migrated via script)
-- Verify
SELECT COUNT(*) as count FROM blog_messages;