docs icon indicating copy to clipboard operation
docs copied to clipboard

Fix explicit m:n SQL

Open janpio opened this issue 2 years ago • 6 comments

The SQL was missing the actual primary key of CategoriesOnPosts and was using a unique instead. Some of the fields on the models were also missing.

Additionally the SQL was not like what current Prisma Migrate would create. Note that this is more verbose and might not be what we actually want to show here. But at least this is correct now.

janpio avatar Aug 05 '22 18:08 janpio

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

Name Status Preview Updated
docs ✅ Ready (Inspect) Visit Preview Oct 21, 2022 at 9:12AM (UTC)

vercel[bot] avatar Aug 05 '22 18:08 vercel[bot]

Deploy Preview for prisma2-docs ready!

Name Link
Latest commit a0b2207e679e13dc7ff5bf8be772bbd4789226f1
Latest deploy log https://app.netlify.com/sites/prisma2-docs/deploys/62ed672dd0d7e30008a6016f
Deploy Preview https://deploy-preview-3567--prisma2-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Aug 05 '22 18:08 netlify[bot]

This PR changes the following pages (Vercel Preview Deploy links):

Changed Vercel links

(Note that links will only be valid after Vercel preview deploy succeeded)

github-actions[bot] avatar Aug 05 '22 18:08 github-actions[bot]

Thanks @janpio . Do we need to simultaneously clean up the diagram you mentioned in Slack? Or can they be separate improvements?

tanberry avatar Aug 10 '22 18:08 tanberry

This is completely independent from any messages in Slack.

janpio avatar Aug 10 '22 19:08 janpio

@keerlu This is a PR I'd otherwise merge, but it has a merge conflict with one of your docs, so I thought I'd leave this for you to decide on!

andrew-walford-prisma avatar Oct 12 '22 08:10 andrew-walford-prisma