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

1

Run the schema.sql in Supabase first.

2

Make sure env keys are in .env.local.

3

Login or sign up in /login.

4

Export a backup from /data.

5

Then upload local data to cloud.