diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-03-07 16:05:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-07 16:05:01 -0500 |
commit | 83291e4c8fd1c2d234ac9f4254af849bed64cabf (patch) | |
tree | 7457bacc4b91c35fa100d6b77fed1f411b36dcf5 /store/sql_upgrade.go | |
parent | e753d3dc3c8aeb6d4a8acc48ec1fa9ead10eb6ab (diff) | |
download | chat-83291e4c8fd1c2d234ac9f4254af849bed64cabf.tar.gz chat-83291e4c8fd1c2d234ac9f4254af849bed64cabf.tar.bz2 chat-83291e4c8fd1c2d234ac9f4254af849bed64cabf.zip |
Merge 3.7 changes into master (#5679)
* Save schema version for 3.7 (#5675)
* Adding index and cache to reactinos store (#5654)
* Fix badge count for push notifications (#5672)
Diffstat (limited to 'store/sql_upgrade.go')
-rw-r--r-- | store/sql_upgrade.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/store/sql_upgrade.go b/store/sql_upgrade.go index d3e8b46c6..1402c0eb1 100644 --- a/store/sql_upgrade.go +++ b/store/sql_upgrade.go @@ -236,5 +236,7 @@ func UpgradeDatabaseToVersion37(sqlStore *SqlStore) { if shouldPerformUpgrade(sqlStore, VERSION_3_6_0, VERSION_3_7_0) { // Add EditAt column to Posts sqlStore.CreateColumnIfNotExists("Posts", "EditAt", " bigint", " bigint", "0") + + saveSchemaVersion(sqlStore, VERSION_3_7_0) } } |