sql-migrate icon indicating copy to clipboard operation
sql-migrate copied to clipboard

How do I create logs from the db?

Open melvinroest opened this issue 3 years ago • 0 comments

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.

melvinroest avatar Jun 24 '21 16:06 melvinroest