Var rename
This commit is contained in:
parent
bf0c13b46d
commit
387b32594e
@ -22,8 +22,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
GhostChangelogComment = "gh-ost changelog"
|
GhostChangelogTableComment = "gh-ost changelog"
|
||||||
atomicCutOverMagicHint = "ghost-cut-over-sentry"
|
atomicCutOverMagicHint = "ghost-cut-over-sentry"
|
||||||
)
|
)
|
||||||
|
|
||||||
type dmlBuildResult struct {
|
type dmlBuildResult struct {
|
||||||
@ -243,7 +243,7 @@ func (this *Applier) CreateChangelogTable() error {
|
|||||||
) auto_increment=256 comment='%s'`,
|
) auto_increment=256 comment='%s'`,
|
||||||
sql.EscapeName(this.migrationContext.DatabaseName),
|
sql.EscapeName(this.migrationContext.DatabaseName),
|
||||||
sql.EscapeName(this.migrationContext.GetChangelogTableName()),
|
sql.EscapeName(this.migrationContext.GetChangelogTableName()),
|
||||||
GhostChangelogComment,
|
GhostChangelogTableComment,
|
||||||
)
|
)
|
||||||
this.migrationContext.Log.Infof("Creating changelog table %s.%s",
|
this.migrationContext.Log.Infof("Creating changelog table %s.%s",
|
||||||
sql.EscapeName(this.migrationContext.DatabaseName),
|
sql.EscapeName(this.migrationContext.DatabaseName),
|
||||||
|
Loading…
Reference in New Issue
Block a user