Save schema version for 3.7 (#5675)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
378f02b445
Коммит
115acb1fb1
@@ -236,5 +236,7 @@ func UpgradeDatabaseToVersion37(sqlStore *SqlStore) {
|
|||||||
if shouldPerformUpgrade(sqlStore, VERSION_3_6_0, VERSION_3_7_0) {
|
if shouldPerformUpgrade(sqlStore, VERSION_3_6_0, VERSION_3_7_0) {
|
||||||
// Add EditAt column to Posts
|
// Add EditAt column to Posts
|
||||||
sqlStore.CreateColumnIfNotExists("Posts", "EditAt", " bigint", " bigint", "0")
|
sqlStore.CreateColumnIfNotExists("Posts", "EditAt", " bigint", " bigint", "0")
|
||||||
|
|
||||||
|
saveSchemaVersion(sqlStore, VERSION_3_7_0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user