Does the Prisma CLI connect to your D1 DB to verify that the table doesn't already exist? It shouldn't be giving you SQL to create the table if the table already exists.
It's very hard to troubleshoot unless you give the (manually changed) statement. The error you shared indicates that it's trying to do something it shouldn't be.
for example 002 migrations already make table "CREATE TABLE "Single" but if we change manual (cause cli not working) is like this "CREATE TABLE IF NOT EXIST "Single""
i got lock in here, if you read this if we use --from-schema-datamodel --from-url we cant since binding is via wrangler not url like postgress, we also cant use
The root issue is that you're trying to create a table when one already exists... Prisma shouldn't be generating/running queries to create a table if it's already present.
Hmmm maybe you kinda confused, the 002 is still not been applied cause i checked the number of table still on migration 001, moving 002 failed cause of double by of Prisma generate other table. Thus is due to prisma migrate diff cli, we can't do beside from --from-empty
When will cloudflare announce they have abandoned read replicas?
It’s been years now, and it doesn’t help that the blog post back in April talks about replicas as if they are already deployed, it’s the first result shown when you search for D1 replicas. Not a great look to be dangling this carrot for so long and provide so few/zero updates for nearly a year
Dear CF team I think Console Tab needs some improvements. in addition to notes in the picture. there some suggestions; 1- Use different background color for query input area. 2- it's better to not execute queries on ENTER Key Press Event and execute it on Mouse Hover and Mouse Click on Execute Button. it prevents on unwanted ENTER key press maybe for going to next line. (Personal Opinion)
There have been posts more recently than March mentioning replicas, and employees are in here mentioning it from time to time. It is not ready, and won't be released until it is. Feel free to move onto another suitable product, if this one doesn't suit you
where can i find any updates provided since that blog post nearly a year ago? I've searched everywhere, i've searched for "replicas" in this discord and scrolled back through 6 months of messages
gosh i feel for the developers, it must be a lot of pressure putting out announcements well before things are ready. i imagine it feels a bit like the crunch phase of game development
reminds me of when i used to work in big orgs and the sales team would promise new customers that we had features which weren't built yet... so the PMs would come down on us hard to build something we didn't get the time to plan properly
do anyone have any idea why i can't acess the d1 using demo as i have local d1 in .wrangler file and still this error occurs like the env.db is undefined like does the d1 doesn't work on server actions ? nextjs cloudflare pages