Skip to content

Commit

Permalink
exclude migration_table_name from connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrozetera authored and stanislas-m committed Dec 23, 2020
1 parent 4d0d826 commit 81e5f2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions connection_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ func (cd *ConnectionDetails) OptionsString(s string) string {
}
if cd.Options != nil {
for k, v := range cd.Options {
if k == "migration_table_name" {
continue
}

s = fmt.Sprintf("%s&%s=%s", s, k, v)
}
}
Expand Down

0 comments on commit 81e5f2d

Please sign in to comment.