mirror of https://github.com/usememos/memos.git
migration version
This commit is contained in:
parent
f373d8e88c
commit
b13cfc346a
|
|
@ -242,7 +242,7 @@ func (s *Store) getSchemaVersionOfMigrateScript(filePath string) (string, error)
|
|||
if err != nil {
|
||||
return "", errors.Wrapf(err, "failed to convert patch version to int: %s", rawPatchVersion)
|
||||
}
|
||||
return fmt.Sprintf("%s.%d", minorVersion, patchVersion+1), nil
|
||||
return fmt.Sprintf("%s.%d", minorVersion, patchVersion), nil
|
||||
}
|
||||
|
||||
// execute runs a single SQL statement within a transaction.
|
||||
|
|
|
|||
Loading…
Reference in New Issue