Skip to content

Conversation

@henrytoone
Copy link
Contributor

Summary

When using PowerShell on Windows, the command in the docs to generate a migration file produces a file in UTF-16 format which wrangler is unable to migrate properly.
Updating the command to use the output flag instead produces a file in UTF-8 which runs fine with the migrate command

Solution found in: prisma/prisma#23702
Prisma release with the fix: https://github.com/prisma/prisma/releases/tag/5.12.1

Screenshots (optional)

Error produced when file is in UTF-16
Error produced when file is in UTF-16

@github-actions github-actions bot added size/xs product:d1 D1: https://developers.cloudflare.com/d1/ labels Aug 29, 2024
@kodster28 kodster28 assigned Oxyjun and unassigned kodster28 Sep 18, 2024
@KianNH
Copy link
Member

KianNH commented Oct 1, 2024

Thanks for catching this!

@KianNH KianNH merged commit 84dc156 into cloudflare:production Oct 1, 2024
2 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Oct 1, 2024
@holopin-bot
Copy link

holopin-bot bot commented Oct 1, 2024

Congratulations @henrytoone, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm1qiu6bi23450cl99gyyzcn5

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

elithrar pushed a commit that referenced this pull request Oct 15, 2024
maheshwarip pushed a commit that referenced this pull request Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution [Holopin] Recognizes a docs contribution, big or small product:d1 D1: https://developers.cloudflare.com/d1/ size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants