<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/7336b421f72d4aa6bc19d5ae53b349d8&quot; frameborder=&quot;0&quot; width=&quot;1232&quot; height=&quot;924&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>924</height><width>1232</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>924</thumbnail_height><thumbnail_width>1232</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/7336b421f72d4aa6bc19d5ae53b349d8-00001.gif</thumbnail_url><duration>272.7</duration><title>Creating a Coupon Collection for Restaurants 🍴</title><description>Hey there! In this Loom, I&apos;m going to show you how to create a new app that has two collections: restaurants and coupons. The coupon collection will have a relationship to restaurants so that one restaurant can have multiple coupons. We&apos;ll also have a score that will be a number. I&apos;ll show you how to add two restaurants and then demonstrate two options: how to add coupons and how to increase the score. We&apos;ll have a list of restaurants with the title &quot;Restaurants&quot; and a list of coupons with the title &quot;Current Restaurant Coupons.&quot; When we preview, we&apos;ll see that we have two restaurants with no score. We&apos;ll add a coupon for 20% and save it, and the score will increase to one. Then we&apos;ll add another coupon and save it, and the score will increase to two. It&apos;s just two simple actions: first, we create a coupon, and then we update it.</description></oembed>