metatext/DB/Sources/DB/Content/AccountPinnedStatusJoin.swift
2020-09-17 17:16:41 -07:00

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")]))
}