summaryrefslogtreecommitdiffstats
path: root/store/sqlstore/plugin_store.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-12-01 23:20:11 -0800
committerGitHub <noreply@github.com>2017-12-01 23:20:11 -0800
commit81c1fad4d4fcc48eebc61905fe4a6226350edd88 (patch)
tree528bbaa725b26b6b3743ac16adff5cb44a81d8d9 /store/sqlstore/plugin_store.go
parentc3af8785734803b6199a28249537ef3e47fe4caa (diff)
downloadchat-81c1fad4d4fcc48eebc61905fe4a6226350edd88.tar.gz
chat-81c1fad4d4fcc48eebc61905fe4a6226350edd88.tar.bz2
chat-81c1fad4d4fcc48eebc61905fe4a6226350edd88.zip
Revert "Hash key for plugin store table and limit plugin ID length (#7915)" (#7931)
This reverts commit c3af8785734803b6199a28249537ef3e47fe4caa.
Diffstat (limited to 'store/sqlstore/plugin_store.go')
-rw-r--r--store/sqlstore/plugin_store.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/sqlstore/plugin_store.go b/store/sqlstore/plugin_store.go
index 66a082cdf..a4b49cb27 100644
--- a/store/sqlstore/plugin_store.go
+++ b/store/sqlstore/plugin_store.go
@@ -21,8 +21,8 @@ func NewSqlPluginStore(sqlStore SqlStore) store.PluginStore {
for _, db := range sqlStore.GetAllConns() {
table := db.AddTableWithName(model.PluginKeyValue{}, "PluginKeyValueStore").SetKeys(false, "PluginId", "Key")
- table.ColMap("PluginId").SetMaxSize(200)
- table.ColMap("Key").SetMaxSize(50)
+ table.ColMap("PluginId").SetMaxSize(100)
+ table.ColMap("Key").SetMaxSize(100)
table.ColMap("Value").SetMaxSize(8192)
}