From 785a410936daff5db7fba07dc5735bd74dd158bb Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 27 Nov 2017 18:49:28 -0500 Subject: Decrease plugin key value store table index name size (#7910) --- store/sqlstore/plugin_store.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'store') diff --git a/store/sqlstore/plugin_store.go b/store/sqlstore/plugin_store.go index c7c075d8a..a4b49cb27 100644 --- a/store/sqlstore/plugin_store.go +++ b/store/sqlstore/plugin_store.go @@ -21,6 +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(100) + table.ColMap("Key").SetMaxSize(100) table.ColMap("Value").SetMaxSize(8192) } -- cgit v1.2.3-1-g7c22