Deleted migrations, still can't create new
I wanted to reset my entire database so I deleted my entire migrations folder and ran generate again. It says "no schema changes" and does not create a migration. Any way to force it?
9 Replies
I have done this before and it's been working, seems like it may be a cache issue or something?
Even when I change the schema, it says nothing has been changed.
Even tried removing node_modules, clearing cache and reinstalling
Anyone?
Even if I remove my entire schema file I still get the "nothing to migrate". It doesn't seem to react to anything I do.
sorry for a bit late reponse on this
I need to get more info from you
if you can share a minimal reproducible examplerepo. I can help you there
Repo is here https://github.com/zicho/drizzle
GitHub
GitHub - zicho/drizzle
Contribute to zicho/drizzle development by creating an account on GitHub.
Much more basic repo here, with the same issue
https://github.com/zicho/bgcaV4
I don't exactky know why but changing the config from TS to JSON seem to have solved it
I see a wrong path in your config file

can't see and db folder under src

But shouldnt it still warn that the schema file can't be found?
Yes, it should
Will add warnings for that