Build 3.0C
Cloud Sync Migration
Upload local CollectWise data into Supabase cloud tables after login.
Portfolio
Local
0
Cloud
0
Wishlist
Local
0
Cloud
0
Scan History
Local
0
Cloud
0
Official Image Overrides
0
Backup-only for now. Portfolio and wishlist images still migrate if attached to items.
How This Works
1. Local remains active
Your app still reads local storage for now. This build only uploads data to Supabase.
2. Cloud data is replaced
When you upload, existing cloud rows for this account are cleared and replaced by current local data.
3. Login is required
Supabase user ID is needed so every row belongs only to your account.
4. Next build reads cloud
Build 3.0D can switch Portfolio/Wishlist to read from Supabase after migration.
Before Upload
Run the schema.sql in Supabase first.
Make sure env keys are in .env.local.
Login or sign up in /login.
Export a backup from /data.
Then upload local data to cloud.