Malformed migration file
For some reason, when running migrations on the latest versions of
drizzle-kit
and drizzle-orm
, it fails with data is malformed
on most of my previous migrations' metadata:
The logs are pretty bare, is there a way to get more detail? I updated both orm
and kit
and changed a few things across my app's types and queries (spanning multiple commits) before trying to run a migration so going back to the previous versions is not really an option as it would imply undoing all that :/4 Replies
Ah nvm, I think its related to the fact I was using a pkg patch for https://github.com/drizzle-team/drizzle-orm/issues/636 and haven't repatched after updating so the patched-in
schemaTo
props are unexpected in the metadataGitHub
[BUG]: drizzle-kit generates incorrect foreign key references to a ...
What version of drizzle-orm are you using? 0.26.1 What version of drizzle-kit are you using? 0.18.1 Describe the Bug I have this file that has two schemas, iam and chat. The iam scheme has users ta...
im getting this
just delete everything inc the dev db and start again?