mirror of
https://github.com/metabolist/metatext.git
synced 2024-05-20 09:18:25 +00:00
18 lines
379 B
Swift
18 lines
379 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import Foundation
|
|
import GRDB
|
|
import Mastodon
|
|
|
|
struct LastReadIdRecord: ContentDatabaseRecord, Hashable {
|
|
let timelineId: Timeline.Id
|
|
let id: String
|
|
}
|
|
|
|
extension LastReadIdRecord {
|
|
enum Columns {
|
|
static let timelineId = Column(CodingKeys.timelineId)
|
|
static let id = Column(CodingKeys.id)
|
|
}
|
|
}
|