Migration

typealias Migration<T> = (version: Int?, JsonElement?) -> T?