- Go to your Supabase project
- Click on SQL Editor in the left sidebar
- Click "New Query"
- Copy the entire content of
schema.sql - Paste it into the editor
- Click "Run" (green play button)
user_profiles- User profile informationuser_progress- Task completion trackinguser_notes- User notes for each dayskipped_days- Days that users skipuser_stats- Cached statistics (streaks, totals)- Automatic triggers for streak calculation
- Row Level Security (RLS) policies
In Supabase, go to Table Editor and you should see:
- user_profiles
- user_progress
- user_notes
- skipped_days
- user_stats