mirror of
https://github.com/usememos/memos.git
synced 2025-09-12 16:54:39 +08:00
migration version
This commit is contained in:
parent
f373d8e88c
commit
b13cfc346a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue