mirror of
https://github.com/usememos/memos.git
synced 2025-09-13 09:17:24 +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 {
|
if err != nil {
|
||||||
return "", errors.Wrapf(err, "failed to convert patch version to int: %s", rawPatchVersion)
|
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.
|
// execute runs a single SQL statement within a transaction.
|
||||||
|
|
Loading…
Add table
Reference in a new issue