Decrease plugin key value store table index name size (#7910)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6176bcff69
Коммит
785a410936
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user