Accidentally cooked my db, start fresh from latest migration?
Hi all, I accidentally cooked my db again lmao, oops..
I had some migrations testing some stuff out, but accidentally really messed it up and deleted migration files by reverting with git, blah blah blah, here I am now, I THOUGHT I fixed it by running "wasp db reset" and doing a new "wasp db migrate-dev", but after changing the schema.prisma again and running "wasp db migrate-dev" again, it was saying:
Then I removed the empty directories from /srv/web/shelter/app/.wasp/out/db/migrations/ and ran it again, but now:
I'd rather just start the db fresh with no migration history, just using the current schema.primsa from my latest git commit. How can I do this?
I had some migrations testing some stuff out, but accidentally really messed it up and deleted migration files by reverting with git, blah blah blah, here I am now, I THOUGHT I fixed it by running "wasp db reset" and doing a new "wasp db migrate-dev", but after changing the schema.prisma again and running "wasp db migrate-dev" again, it was saying:
Then I removed the empty directories from /srv/web/shelter/app/.wasp/out/db/migrations/ and ran it again, but now:
I'd rather just start the db fresh with no migration history, just using the current schema.primsa from my latest git commit. How can I do this?