Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ON HOLD] docs: prisma guide for anon extension #1634

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

evanshortiss
Copy link
Contributor

@evanshortiss evanshortiss commented Apr 22, 2024

I ran into this issue today when using Prisma with Neon. Running prisma db push resulted in an error: cannot drop type anon_fake_data_tables because extension anon requires it.

Specifying the enum in schema.prisma resolved the issue. I used prisma db pull to obtain the schema. We could instruct readers to run prisma db pull, or simply add the enum entry as I specify in this PR.

Edit: Following our other Prisma guide worked fine. It seems to account for the extension during the initial migration. I tried to double check using a new project, but it seems enabling the anon extension isn't working at the moment.

Copy link

vercel bot commented Apr 22, 2024

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

Name Status Preview Comments Updated (UTC)
neon-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2024 10:15am

@evanshortiss evanshortiss changed the title docs: prisma guide for anon extension [ON HOLD] docs: prisma guide for anon extension Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants