Hey there!
I want to setup a test database that I would be using while running integration tests on Circle CI. I am using docker containers.
Right now, I’m using the recommended way (import a sql file to the circle_test
database and everything works):
database:
override:
- mysql -u ubuntu circle_test < test/data/test-database.sql
But now I’d like instead of that, to use db-migrate
module from NPM. I have my config in place but it looks like the command is run from outside the container or smth like this, because the modules are not found
database:
override:
- ./node_modules/db-migrate/bin/db-migrate .......
All i get is not found error.
Could you maybe advise how can i overcome this issue and be able to use db-migrate
?
Thank you!