sql-migrate
sql-migrate copied to clipboard
How do I create logs from the db?
I am working in a project where there is a Docker container with the command: sql-migrate up -config/init.yml
.
I would like to enable logs, but I can't change this command to postgres -c log_statement=all
.
Is this possible to do with sql-migrate
? If not, what would I need to hack/extend in order to make this possible?
Or how is it internally being done? I tried finding it, but I couldn't connect the dots.