diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-11-09 12:35:44 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-11-09 15:44:28 -0500 |
commit | c07c266b2759998f3133b3f970a26747601ed610 (patch) | |
tree | 9fce6878fade9b318b838cbba47a0dce2b94d6a8 /store/sql_post_store.go | |
parent | ffe844339a2ebf20df0074aa64b5cafb8517f536 (diff) | |
download | chat-c07c266b2759998f3133b3f970a26747601ed610.tar.gz chat-c07c266b2759998f3133b3f970a26747601ed610.tar.bz2 chat-c07c266b2759998f3133b3f970a26747601ed610.zip |
Omit unneeded fields from user object in getProfiles service and remove ImgCount field from Post model
Diffstat (limited to 'store/sql_post_store.go')
-rw-r--r-- | store/sql_post_store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/store/sql_post_store.go b/store/sql_post_store.go index 3a25fe89b..f800367cb 100644 --- a/store/sql_post_store.go +++ b/store/sql_post_store.go @@ -38,6 +38,7 @@ func NewSqlPostStore(sqlStore *SqlStore) PostStore { } func (s SqlPostStore) UpgradeSchemaIfNeeded() { + s.RemoveColumnIfExists("Posts", "ImgCount") // remove after 1.3 release } func (s SqlPostStore) CreateIndexesIfNotExists() { |