diff options
author | =Corey Hulen <corey@hulen.com> | 2016-02-22 16:08:40 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-02-22 16:08:40 -0800 |
commit | 1bb85818ca5d7569c17e56d523d9668b83973e65 (patch) | |
tree | 5b40290c7a65678171cfc236ffc1cd72e88027cf /store/sql_post_store.go | |
parent | 32ae72d91d31699899d5e2084cf7faa40c81e42c (diff) | |
download | chat-1bb85818ca5d7569c17e56d523d9668b83973e65.tar.gz chat-1bb85818ca5d7569c17e56d523d9668b83973e65.tar.bz2 chat-1bb85818ca5d7569c17e56d523d9668b83973e65.zip |
Fixing device id column for droid
Diffstat (limited to 'store/sql_post_store.go')
-rw-r--r-- | store/sql_post_store.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/store/sql_post_store.go b/store/sql_post_store.go index dfb9563eb..6a614b6a7 100644 --- a/store/sql_post_store.go +++ b/store/sql_post_store.go @@ -38,10 +38,10 @@ func NewSqlPostStore(sqlStore *SqlStore) PostStore { } func (s SqlPostStore) UpgradeSchemaIfNeeded() { - // ADDED for 1.3 REMOVE for 1.6 + // ADDED for 1.3 REMOVE for 2.2 s.RemoveColumnIfExists("Posts", "ImgCount") - // ADDED for 1.3 REMOVE for 1.6 + // 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"}) } |