diff options
author | Corey Hulen <corey@hulen.com> | 2016-06-13 09:36:00 -0800 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-06-13 13:36:00 -0400 |
commit | b353b9fbcfd924ca8ca01c416d1724ccd6113169 (patch) | |
tree | 895994138c106e930ffa89f7869ab032a10824ec /mattermost.go | |
parent | 3ff2e578b537f8fca51c95275d1eab8218b5ccb0 (diff) | |
download | chat-b353b9fbcfd924ca8ca01c416d1724ccd6113169.tar.gz chat-b353b9fbcfd924ca8ca01c416d1724ccd6113169.tar.bz2 chat-b353b9fbcfd924ca8ca01c416d1724ccd6113169.zip |
Adding DB schema version to CLI (#3315)
Diffstat (limited to 'mattermost.go')
-rw-r--r-- | mattermost.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mattermost.go b/mattermost.go index 143be6783..712faf83b 100644 --- a/mattermost.go +++ b/mattermost.go @@ -854,6 +854,7 @@ func cmdVersion() { fmt.Fprintln(os.Stderr, "Build Date: "+model.BuildDate) fmt.Fprintln(os.Stderr, "Build Hash: "+model.BuildHash) fmt.Fprintln(os.Stderr, "Build Enterprise Ready: "+model.BuildEnterpriseReady) + fmt.Fprintln(os.Stderr, "DB Version: "+api.Srv.Store.(*store.SqlStore).SchemaVersion) os.Exit(0) } |