mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Upgrade schema for pinned posts. (#5747)
This commit is contained in:
committed by
Joram Wilander
parent
59d06b5c56
commit
3ada7a41a7
@@ -247,6 +247,9 @@ func UpgradeDatabaseToVersion38(sqlStore *SqlStore) {
|
||||
// TODO: Uncomment following condition when version 3.8.0 is released
|
||||
// if shouldPerformUpgrade(sqlStore, VERSION_3_7_0, VERSION_3_8_0) {
|
||||
|
||||
// Add the IsPinned column to posts.
|
||||
sqlStore.CreateColumnIfNotExists("Posts", "IsPinned", "boolean", "boolean", "0")
|
||||
|
||||
// saveSchemaVersion(sqlStore, VERSION_3_8_0)
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user