summaryrefslogtreecommitdiffstats
path: root/store/sql_post_store.go
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2015-12-03 14:36:51 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2015-12-03 14:36:51 -0500
commit3e455959c62a094911d7b435d46627f8c37a3394 (patch)
tree0f55f70ac840d518f9a39847ed5e8737ad519e4d /store/sql_post_store.go
parenta598427d6cb5b97f963fb717845e40d65064f1ae (diff)
parentcc111205f9c6cb152ca87f68c0a2f7aa519fdf59 (diff)
downloadchat-3e455959c62a094911d7b435d46627f8c37a3394.tar.gz
chat-3e455959c62a094911d7b435d46627f8c37a3394.tar.bz2
chat-3e455959c62a094911d7b435d46627f8c37a3394.zip
Merge pull request #1598 from mattermost/plt-1079
PLT-1079 Add limit to Props size in Post table
Diffstat (limited to 'store/sql_post_store.go')
-rw-r--r--store/sql_post_store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_post_store.go b/store/sql_post_store.go
index 1831eb23c..9db5806c5 100644
--- a/store/sql_post_store.go
+++ b/store/sql_post_store.go
@@ -30,7 +30,7 @@ func NewSqlPostStore(sqlStore *SqlStore) PostStore {
table.ColMap("Message").SetMaxSize(4000)
table.ColMap("Type").SetMaxSize(26)
table.ColMap("Hashtags").SetMaxSize(1000)
- table.ColMap("Props")
+ table.ColMap("Props").SetMaxSize(8000)
table.ColMap("Filenames").SetMaxSize(4000)
}