From 0e626cc1f92520d4e56ada9533b1c46db5b9dba9 Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Fri, 4 Sep 2020 04:06:33 -0700 Subject: [PATCH] Remove wrong column --- DB/Sources/DB/Content/ContentDatabase.swift | 1 - Mastodon/Sources/Mastodon/Entities/Account.swift | 1 - 2 files changed, 2 deletions(-) diff --git a/DB/Sources/DB/Content/ContentDatabase.swift b/DB/Sources/DB/Content/ContentDatabase.swift index 8879888..5cb7c31 100644 --- a/DB/Sources/DB/Content/ContentDatabase.swift +++ b/DB/Sources/DB/Content/ContentDatabase.swift @@ -212,7 +212,6 @@ private extension ContentDatabase { t.column("fields", .blob).notNull() t.column("emojis", .blob).notNull() t.column("bot", .boolean).notNull() - t.column("moved", .boolean) t.column("discoverable", .boolean) } diff --git a/Mastodon/Sources/Mastodon/Entities/Account.swift b/Mastodon/Sources/Mastodon/Entities/Account.swift index 5a4153f..c9fe844 100644 --- a/Mastodon/Sources/Mastodon/Entities/Account.swift +++ b/Mastodon/Sources/Mastodon/Entities/Account.swift @@ -27,6 +27,5 @@ public struct Account: Codable, Hashable { public let fields: [Field] public let emojis: [Emoji] @DecodableDefault.False public private(set) var bot: Bool - @DecodableDefault.False public private(set) var moved: Bool @DecodableDefault.False public private(set) var discoverable: Bool }