Support upgrading from old migration table name (#889)
This commit is contained in:
1 parent
3461dcbd0c
commit
955ae41215
10 files changed
+489
-161
No files matched your search
@@ -367,6 +367,9 @@ func (c *Command) Run(args []string) int {
|
||||
c.UI.Error(fmt.Errorf("Error checking schema state: %w", err).Error())
|
||||
return 1
|
||||
}
|
||||
if !ckState.InitializationStarted {
|
||||
c.UI.Error(base.WrapAtLength("The database has not been initialized. Please run 'boundary database init'."))
|
||||
}
|
||||
if ckState.Dirty {
|
||||
c.UI.Error(base.WrapAtLength("Database is in a bad state. Please revert the database into the last known good state."))
|
||||
return 1
|
||||
|
||||
Reference in new issue
Block a user