Omit unneeded fields from user object in getProfiles service and remove ImgCount field from Post model
Этот коммит содержится в:
@@ -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() {
|
||||
|
||||
Ссылка в новой задаче
Block a user