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)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
e753d3dc3c
Коммит
83291e4c8f
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user