Closed sorgfal closed 1 year ago
Thanks.
I think in the script you have to export
the env vars:
export DB_HOST_ADDRESS=172.19.0.2
...
dart run stormberry migrate -o=./migrations/
Btw when you specify the db name through the env var you dont need the cli argument.
Regarding the feature request: Can you make a proposal for this? Feel free to open a separate issue and describe what you are looking for.
Thanks, the dart community has been waiting for a database tool for a long time. But I got a problem.
Enviroment: MacOS Postgres over docker compose. Proof of ip:
run_migration.sh
script output
It looks like the migration tool can't see the environment variables.
Also i have feature request. Can we get tool for calling migration from code. I think it will useful.