What exactly is the `check` command doing?
would the screenshot not constitute a failed "check"? when i run
drizzle-kit check:pg
i get the following output:
i would expect that this fails since it requires a migration10 Replies
Here is another example.
push
clearly causes data loss. but check shows no problems. how do i check whether or not my push will cause a breaking change?i think really what im looking for is a "--dry-run" flag
I had the exact same question. Did you ever figure this out?
no, @mods
@jakeleventhal check command is going through all snapshots json files and check for collisions. So it means if several people were working on a same project and generated migrations on different branches
After they will merge it to dev,
check
can check that one of a developer regenerated a migration after another's changes to devThanks for the tip. is there any anticipated development for what i was describing @Andrew Sherman
Same issue... I have a database and I want to check if the database's schema is in accordance to the drizzle schema.
that's a good feature for a new command
we will add it to backlog
Hi, sorry to bother you, I didn't find a corresponding issue on the backlog, is it still planned (I would like to use this command in my CI to check when planetscale migration is needed or not)
+1