metatext-app-ios-iphone-ipad/DB/Sources/DB/Extensions/Relationship+Extensions.swift

25 lines
510 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
import GRDB
import Mastodon
extension Relationship: ContentDatabaseRecord {}
extension Relationship {
enum Columns: String, ColumnExpression {
case id
case following
case requested
case endorsed
case followedBy
case muting
case mutingNotifications
case showingReblogs
case blocking
case domainBlocking
case blockedBy
case note
}
}