diff options
author | =Corey Hulen <corey@hulen.com> | 2016-03-21 10:37:28 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-03-21 10:37:28 -0700 |
commit | 54b9a4ef5b013ec66c139e6dc4b5b62348b75dfe (patch) | |
tree | ad312534f9dea16898501640b2ba79f356445c1b | |
parent | 0db6994e08d6a83cc986ee559632f198d1b2b4fa (diff) | |
download | chat-54b9a4ef5b013ec66c139e6dc4b5b62348b75dfe.tar.gz chat-54b9a4ef5b013ec66c139e6dc4b5b62348b75dfe.tar.bz2 chat-54b9a4ef5b013ec66c139e6dc4b5b62348b75dfe.zip |
Removing old schema upgrades affecting postgres
-rw-r--r-- | store/sql_post_store.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/store/sql_post_store.go b/store/sql_post_store.go index 68c22f7f6..401306862 100644 --- a/store/sql_post_store.go +++ b/store/sql_post_store.go @@ -38,11 +38,6 @@ func NewSqlPostStore(sqlStore *SqlStore) PostStore { } func (s SqlPostStore) UpgradeSchemaIfNeeded() { - // ADDED for 1.3 REMOVE for 2.2 - s.RemoveColumnIfExists("Posts", "ImgCount") - - // ADDED for 1.3 REMOVE for 2.2 - s.GetMaster().Exec(`UPDATE Preferences SET Type = :NewType WHERE Type = :CurrentType`, map[string]string{"NewType": model.POST_JOIN_LEAVE, "CurrentType": "join_leave"}) } func (s SqlPostStore) CreateIndexesIfNotExists() { |