Closed floitsch closed 2 months ago
It looks like the --table-name flag is ignored (at least for apply).
--table-name
apply
The TableName is set to the DefaultTableName but isn't updated: https://github.com/peterldowns/pgmigrate/blob/main/migrator.go#L68
TableName
DefaultTableName
You are entirely correct — thank you for the bug report, I will fix this.
Should be fixed now!
It looks like the
--table-name
flag is ignored (at least forapply
).The
TableName
is set to theDefaultTableName
but isn't updated: https://github.com/peterldowns/pgmigrate/blob/main/migrator.go#L68