How to update Prisma @unique
Hello,
So I started a new NextJS project.
I did this:
Then I added to slug @unique
But when I tried to do
It gave me an error : Invalid
How do I apply the new @unique? the npx prisma db push did not work
So I started a new NextJS project.
I did this:
Then I added to slug @unique
But when I tried to do
It gave me an error : Invalid
prisma.user.findUnique() invocation:How do I apply the new @unique? the npx prisma db push did not work