← Back to Diagnostic
🚀 Auto-Populate Metadata
Automatically create metadata entries for all parcels in your tracking system
â„šī¸ What This Does:
This script will automatically create metadata entries for all parcels in your parcel_tracking table. It will:
  • Use the earliest tracking entry as the estimated handover date
  • Set sender as "LOL Book Store"
  • Set placeholder receiver name and city (you can update these later)
  • Calculate expected delivery date (handover + 3 days)
  • Skip parcels that already have metadata
âš ī¸ Important Notes:
  • Handover dates are estimated based on first tracking entry
  • Receiver names and cities will be placeholders ("Customer" and "Unknown")
  • You can update these details later using the Add Parcel page
  • This operation is safe - it only INSERTs data, doesn't modify existing records

Preview:

2234
Total Parcels
0
Has Metadata
2234
Will Create

After Auto-Population

Once metadata is created, you can: