Deploy / deploy (push) Successful in 14s
belongsToMany sync() is wrong for products_sizes which is a full model with its own id and a unique shopify_variant_id. The new approach: - updateOrCreate per row (safe for repeated saves) - strips non-digits from gtin, stores null when empty (fixes 500 on unsignedBigInteger column with empty string in strict SQL mode) - only deletes local-only sizes (whereNull shopify_variant_id) that were removed — Shopify-imported sizes are never deleted here Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>