[Solved] Running drizzle-kit push in CI to set up a database
Hello, I'm trying to run
drizzle-kit push
in a CI pipeline to prop up a database for testing. However, the process gets stuck on "Warning You are about to execute current statements". Obviously there is no tty and no user to answer yes. I checked drizzle-kit push --help
and didn't find any --yes
or --ci
arguments to skip this check. What's the recommended way to proceed here?1 Reply
For some reason I was on an old version of
drizzle-kit
even though I just made my project 10 days ago. The current version has drizzle-kit push --force
which solves my issue.