summaryrefslogtreecommitdiffstats
path: root/store/sql_command_store.go
diff options
context:
space:
mode:
authorNicolas Clerc <kernicPanel@nclerc.fr>2016-02-15 09:11:35 +0100
committerNicolas Clerc <kernicPanel@nclerc.fr>2016-03-17 01:45:37 +0100
commit5e2596598f97e318f1e4e8bd835b08a011fa0b60 (patch)
tree68b3a9200e9858a7239d45b1869c38c1216d6bda /store/sql_command_store.go
parent809779a87f4380b6802314271b06540a31b83f53 (diff)
downloadchat-5e2596598f97e318f1e4e8bd835b08a011fa0b60.tar.gz
chat-5e2596598f97e318f1e4e8bd835b08a011fa0b60.tar.bz2
chat-5e2596598f97e318f1e4e8bd835b08a011fa0b60.zip
add external slashcommands management
Diffstat (limited to 'store/sql_command_store.go')
-rw-r--r--store/sql_command_store.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/store/sql_command_store.go b/store/sql_command_store.go
index 074a6e588..a35737bd7 100644
--- a/store/sql_command_store.go
+++ b/store/sql_command_store.go
@@ -34,6 +34,7 @@ func NewSqlCommandStore(sqlStore *SqlStore) CommandStore {
}
func (s SqlCommandStore) UpgradeSchemaIfNeeded() {
+ s.CreateColumnIfNotExists("Commands", "ExternalManagement", "tinyint(1)", "boolean", "0")
}
func (s SqlCommandStore) CreateIndexesIfNotExists() {