mirror of
https://github.com/metabolist/metatext.git
synced 2024-06-03 05:59:24 +00:00
13 lines
331 B
Swift
13 lines
331 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import Foundation
|
|
import GRDB
|
|
|
|
struct AccountPinnedStatusJoin: Codable, FetchableRecord, PersistableRecord {
|
|
let accountId: String
|
|
let statusId: String
|
|
let index: Int
|
|
|
|
static let status = belongsTo(StatusRecord.self, using: ForeignKey([Column("statusId")]))
|
|
}
|