bailing out on missing _ghc table on failure to writing to it
This commit is contained in:
parent
1a45b5fffc
commit
9aef2707ea
@ -290,6 +290,7 @@ func (this *Applier) WriteChangelog(hint, value string) (string, error) {
|
|||||||
sql.EscapeName(this.migrationContext.GetChangelogTableName()),
|
sql.EscapeName(this.migrationContext.GetChangelogTableName()),
|
||||||
)
|
)
|
||||||
_, err := sqlutils.ExecNoPrepare(this.db, query, explicitId, hint, value)
|
_, err := sqlutils.ExecNoPrepare(this.db, query, explicitId, hint, value)
|
||||||
|
this.migrationContext.PanicAbortIfTableError(err)
|
||||||
return hint, err
|
return hint, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user