space-game/supabase/migrations
Michael Mainguy fe88c2bf47 Add My Levels tab, profile page, and token auth system
- Add My Levels tab to website level selection for viewing private levels
- Add profile page for generating/managing editor plugin tokens
- Create user_tokens table and RPC functions for token-based auth
- Fix cloudLevelService to use maybeSingle() for admin and level queries
- Fix getLevelById to try authenticated client first for private levels
- Add rotation support to asteroids, base, sun, and planets
- Remove deprecated difficultyConfig from level files
- Add editor script components for BabylonJS Editor integration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-09 07:06:40 -06:00
..
001_cloud_levels.sql Migrate to cloud-only level system using Supabase 2025-11-28 17:26:24 -06:00
002_user_mapping.sql Migrate to cloud-only level system using Supabase 2025-11-28 17:26:24 -06:00
003_leaderboard_user_mapping.sql Migrate to cloud-only level system using Supabase 2025-11-28 17:26:24 -06:00
004_admins_use_internal_id.sql Add level editor for superadmins 2025-12-01 19:57:48 -06:00
005_user_tokens.sql Add My Levels tab, profile page, and token auth system 2025-12-09 07:06:40 -06:00