коммит произвёл
GitHub
родитель
b9cceb70ae
Коммит
fcea39ad36
@@ -19,7 +19,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
CurrentSchemaVersion = Version5370
|
CurrentSchemaVersion = Version5380
|
||||||
Version5380 = "5.38.0"
|
Version5380 = "5.38.0"
|
||||||
Version5370 = "5.37.0"
|
Version5370 = "5.37.0"
|
||||||
Version5360 = "5.36.0"
|
Version5360 = "5.36.0"
|
||||||
@@ -1216,13 +1216,12 @@ func upgradeDatabaseToVersion537(sqlStore *SqlStore) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func upgradeDatabaseToVersion538(sqlStore *SqlStore) {
|
func upgradeDatabaseToVersion538(sqlStore *SqlStore) {
|
||||||
// TODO: uncomment when the time arrive to upgrade the DB for 5.38
|
if shouldPerformUpgrade(sqlStore, Version5370, Version5380) {
|
||||||
// if shouldPerformUpgrade(sqlStore, Version5370, Version5380) {
|
fixCRTChannelMembershipCounts(sqlStore)
|
||||||
fixCRTChannelMembershipCounts(sqlStore)
|
fixCRTThreadCountsAndUnreads(sqlStore)
|
||||||
fixCRTThreadCountsAndUnreads(sqlStore)
|
|
||||||
|
|
||||||
// saveSchemaVersion(sqlStore, Version5380)
|
saveSchemaVersion(sqlStore, Version5380)
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// fixCRTThreadCountsAndUnreads Marks threads as read for users where the last
|
// fixCRTThreadCountsAndUnreads Marks threads as read for users where the last
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user