peterldowns / pgmigrate

a modern Postgres migrations CLI and library
MIT License
70 stars 3 forks source link

'--table-name' flag is ignored #3

Closed floitsch closed 2 months ago

floitsch commented 8 months ago

It looks like the --table-name flag is ignored (at least for apply).

The TableName is set to the DefaultTableName but isn't updated: https://github.com/peterldowns/pgmigrate/blob/main/migrator.go#L68

peterldowns commented 8 months ago

You are entirely correct — thank you for the bug report, I will fix this.

peterldowns commented 2 months ago

Should be fixed now!