metatext-app-ios-iphone-ipad/DB/Sources/DB/Content/AccountPinnedStatusJoin.swift

13 lines
331 B
Swift
Raw Normal View History

2020-09-18 02:16:41 +02:00
// 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")]))
}