summaryrefslogtreecommitdiffstats
path: root/store/sql_post_store.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-05-24 09:42:06 -0400
committerGitHub <noreply@github.com>2017-05-24 09:42:06 -0400
commit751469979aefd6575174ea17ae13fca7c727ecfd (patch)
tree6df1adf80acf370aaac335e10e09108cfba2113d /store/sql_post_store.go
parent14684ae785d7a3cbad2aa49a453bf6b93b1fbc18 (diff)
downloadchat-751469979aefd6575174ea17ae13fca7c727ecfd.tar.gz
chat-751469979aefd6575174ea17ae13fca7c727ecfd.tar.bz2
chat-751469979aefd6575174ea17ae13fca7c727ecfd.zip
Set length for OriginalId for new installs (#6437)
Diffstat (limited to 'store/sql_post_store.go')
-rw-r--r--store/sql_post_store.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/store/sql_post_store.go b/store/sql_post_store.go
index 834e488a8..3abafbbcc 100644
--- a/store/sql_post_store.go
+++ b/store/sql_post_store.go
@@ -46,6 +46,7 @@ func NewSqlPostStore(sqlStore *SqlStore) PostStore {
table.ColMap("ChannelId").SetMaxSize(26)
table.ColMap("RootId").SetMaxSize(26)
table.ColMap("ParentId").SetMaxSize(26)
+ table.ColMap("OriginalId").SetMaxSize(26)
table.ColMap("Message").SetMaxSize(4000)
table.ColMap("Type").SetMaxSize(26)
table.ColMap("Hashtags").SetMaxSize(1000)