summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/platform/version.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/platform/version.go b/cmd/platform/version.go
index 9c0c48471..ccbd73e02 100644
--- a/cmd/platform/version.go
+++ b/cmd/platform/version.go
@@ -31,5 +31,5 @@ func printVersion() {
CommandPrintln("Build Date: " + model.BuildDate)
CommandPrintln("Build Hash: " + model.BuildHash)
CommandPrintln("Build Enterprise Ready: " + model.BuildEnterpriseReady)
- CommandPrintln("DB Version: " + app.Srv.Store.(*store.SqlStore).SchemaVersion)
+ CommandPrintln("DB Version: " + app.Srv.Store.(*store.LayeredStore).DatabaseLayer.GetCurrentSchemaVersion())
}