Swiftgram/Postbox/PostboxUpgrade_12to13.swift
Peter 83f072c947 Upgrade from v22 to v23
Added grouping
MessageHistoryView improvements
2019-04-15 01:27:35 +01:00

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)
}