01-schema-setup.md
AI Agent Target: Outlines the initialization sequence and setup commands for Firebase, Supabase, MongoDB, and PowerSync schemas.
Human Target: 設定底層資料儲存與同步元件的逐步指南。
Firebase 即時資料庫用於即時狀態與設定。
database.rules.json 以保護節點。topic 與 isApproved 等鍵值設定 .indexOn 以支援查詢。Supabase 作為主要的關聯式資料庫,並支援 PowerSync。
pgvector 擴展以支援 AI 相似度搜尋。用於高效能文件快取與搜尋引擎。
Questions, Users)。透過 SQLite 複寫提供行動裝置的離線優先功能。
powersync_rules.yaml。