mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
12 lines
462 B
Swift
12 lines
462 B
Swift
import Foundation
|
|
|
|
func postboxUpgrade_12to13(metadataTable: MetadataTable, valueBox: ValueBox, progress: (Float) -> Void) {
|
|
// drop PeerMergedOperationLogIndexTable
|
|
valueBox.removeAllFromTable(ValueBoxTable(id: 30, keyType: .binary, compactValuesOnCreation: true))
|
|
|
|
// drop PeerOperationLogTable
|
|
valueBox.removeAllFromTable(ValueBoxTable(id: 31, keyType: .binary, compactValuesOnCreation: false))
|
|
|
|
metadataTable.setUserVersion(13)
|
|
}
|