Cloudflare D1 support
Hi, I've searched the server for this and found an answer from Nurul 2 months ago saying this feature is planned.
From what I've seen you guys don't like to share ETAs so instead could you just tell me if works on this has been started or not?
Thanks! Looking forward to this
12 Replies
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
Yeah it's understandable
Hey 👋
No promises! 😄
But keep an eye on 5.12.0 release happening tomorrow! I believe you will be happy! :prisma_cool:
https://github.com/prisma/prisma/releases
What a timing!
Thank you so much
👀 https://www.prisma.io/blog/build-applications-at-the-edge-with-prisma-orm-and-cloudflare-d1-preview
Prisma
Build Applications at the Edge with Prisma ORM & Cloudflare D1 (Pre...
Prisma ORM now supports Cloudflare D1 databases. Read this article to learn how to query D1 from a Cloudflare Worker.
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
Thanks for the note 🙏
Could you copy/paste the sql file so we can take a look? Additionally, are you following the guide from the blog post or in our documentation?
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
Looks like this is most likely an issue on our end. Could you please fill out a GitHub issue with all the info you have? That'll help us get a patch out in a timely manner. https://github.com/prisma/prisma/issues/new?assignees=&labels=kind/bug&projects=&template=bug_report.yml
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
At first blush, I don't think so. Maybe a Windows issues (or PowerShell, or who knows).
In the issue, if you could also attach the migration file (not just copy/paste) that would help us confirm/deny some weird Windows-y things
@Casper this has been fixed on our side with version 5.12.1. Thank you very much for bringing this up!
see solution here: https://github.com/prisma/prisma/issues/23702#issuecomment-2037203700
GitHub
✘ [ERROR] near "��": syntax error at offset 0
when running `wrang...Bug description I get an error while trying to apply my migration with wrangler. I'm using the guide here. Here is the log: wrangler-2024-04-02_17-44-57_583.log Here is the migration file (as t...