Var rename

This commit is contained in:
Tim Vaillancourt 2022-06-07 01:49:18 +02:00
parent bf0c13b46d
commit 387b32594e

View File

@ -22,8 +22,8 @@ import (
)
const (
GhostChangelogComment = "gh-ost changelog"
atomicCutOverMagicHint = "ghost-cut-over-sentry"
GhostChangelogTableComment = "gh-ost changelog"
atomicCutOverMagicHint = "ghost-cut-over-sentry"
)
type dmlBuildResult struct {
@ -243,7 +243,7 @@ func (this *Applier) CreateChangelogTable() error {
) auto_increment=256 comment='%s'`,
sql.EscapeName(this.migrationContext.DatabaseName),
sql.EscapeName(this.migrationContext.GetChangelogTableName()),
GhostChangelogComment,
GhostChangelogTableComment,
)
this.migrationContext.Log.Infof("Creating changelog table %s.%s",
sql.EscapeName(this.migrationContext.DatabaseName),