Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: tweak schema version

Stevend066d46f6e82
diff --git a/server/version/version.go b/server/version/version.go
index eccaa3951..34ee57a34 100644
--- a/server/version/version.go
+++ b/server/version/version.go
@@ -9,10 +9,10 @@ import (
// Version is the service current released version.
// Semantic versioning: https://semver.org/
-var Version = "0.22.6"
+var Version = "0.23.0"
// DevVersion is the service current development version.
-var DevVersion = "0.22.6"
+var DevVersion = "0.23.0"
func GetCurrentVersion(mode string) string {
if mode == "dev" || mode == "demo" {
diff --git a/store/migration/mysql/prod/0.22/04__reactions.sql b/store/migration/mysql/prod/0.23/00__reactions.sql
similarity index 100%
rename from store/migration/mysql/prod/0.22/04__reactions.sql
rename to store/migration/mysql/prod/0.23/00__reactions.sql
diff --git a/store/migration/postgres/prod/0.22/04__reactions.sql b/store/migration/postgres/prod/0.23/00__reactions.sql
similarity index 100%
rename from store/migration/postgres/prod/0.22/04__reactions.sql
rename to store/migration/postgres/prod/0.23/00__reactions.sql
diff --git a/store/migration/sqlite/prod/0.22/04__reactions.sql b/store/migration/sqlite/prod/0.23/00__reactions.sql
similarity index 100%
rename from store/migration/sqlite/prod/0.22/04__reactions.sql
rename to store/migration/sqlite/prod/0.23/00__reactions.sql
diff --git a/test/store/migrator_test.go b/test/store/migrator_test.go
index 059f5a691..f2488882b 100644
--- a/test/store/migrator_test.go
+++ b/test/store/migrator_test.go
@@ -13,5 +13,5 @@ func TestGetCurrentSchemaVersion(t *testing.T) {
currentSchemaVersion, err := ts.GetCurrentSchemaVersion()
require.NoError(t, err)
- require.Equal(t, "0.22.5", currentSchemaVersion)
+ require.Equal(t, "0.23.1", currentSchemaVersion)
}