FormidableLabs / nextjs-sanity-fe

NextJS Demo site with Sanity CMS
https://nextjs-sanity.formidable.dev/
29 stars 6 forks source link

Update Variant Content Model #169

Closed sarmeyer closed 1 year ago

sarmeyer commented 1 year ago

I switched Variant from a reference field of document type to an object that is nested within Product - rather than being at the same level as Product

I attempted to migrate the existing variant data to the new field, but the script I had wasn't working quite right, and since there aren't that many I can add them back manually. Because the types are different, the data won't persist with this new field, unfortunately.

fixes #161

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
nextjs-sanity-fe ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 19, 2023 at 4:44PM (UTC)