data is malformed on drizzle-kit V 0.20.10
while running
drizzle-kit generate:pg
i get data is malformed errors
downgrading to drizzle-kit@0.20.9
fixes my issue![No description](https://cdn.answeroverflow.com/1193011691617800242/Screenshot_2024-01-05_at_8.01.57_PM.png)
10 Replies
Same here.
Something has changed between 0.20.9 and 0.20.10 which has broken the
generate:pg
command, where it crashes on the reading of the snapshot files.you want to make a github issue? or me lol
You guys might want to take a look at this issue
GitHub
[BUG]: how to recover from snapshot.json data is malformed · Issue ...
What version of drizzle-orm are you using? latest What version of drizzle-kit are you using? latest Describe the Bug When trying drizzle-kit generate:sqlite --config drizzle.config.ts I get drizzle...
It may or may not be relevant
tried install the beta version still didnt fix my issue at least
Same issue here
I fixed it by running this script. Note: This script would not work if you use other schemas than public.
was this in a release not as a breaking change or something?
hitting this as well 😦 beta hasn't fixed the issue
and
push
doesn't work because type "serial" does not exist
(postgres)...
this script fixed it, thank you so much ❤️