Closed a631807682 closed 2 years ago
When DoubleWrite is enabled, we need to query database schema information by table name during the migration. In this case, we should use the original ConnPool. https://github.com/go-gorm/postgres/blob/master/migrator.go#L218
DoubleWrite
ConnPool
What did this pull request do?
When
DoubleWrite
is enabled, we need to query database schema information by table name during the migration. In this case, we should use the originalConnPool
. https://github.com/go-gorm/postgres/blob/master/migrator.go#L218User Case Description