13 lines
323 B
Swift
13 lines
323 B
Swift
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import Foundation
|
|
import GRDB
|
|
|
|
public protocol Migration {
|
|
static var identifier: String { get }
|
|
static var needsConfigSync: Bool { get }
|
|
static var minExpectedRunDuration: TimeInterval { get }
|
|
|
|
static func migrate(_ db: Database) throws
|
|
}
|