diff --git a/server/build.gradle.kts b/server/build.gradle.kts index 8a662fe9..2a6902b2 100644 --- a/server/build.gradle.kts +++ b/server/build.gradle.kts @@ -46,7 +46,7 @@ dependencies { implementation("com.h2database:h2:1.4.200") // Exposed Migrations - val exposedMigrationsVersion = "3.1.0" + val exposedMigrationsVersion = "3.1.1" implementation("com.github.Suwayomi:exposed-migrations:$exposedMigrationsVersion") // tray icon diff --git a/server/src/main/kotlin/suwayomi/tachidesk/manga/model/table/SourceTable.kt b/server/src/main/kotlin/suwayomi/tachidesk/manga/model/table/SourceTable.kt index 39d2476d..fc6e1883 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/manga/model/table/SourceTable.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/manga/model/table/SourceTable.kt @@ -14,6 +14,5 @@ object SourceTable : IdTable() { val name = varchar("name", 128) val lang = varchar("lang", 10) val extension = reference("extension", ExtensionTable) - val partOfFactorySource = bool("part_of_factory_source").default(false) val isNsfw = bool("is_nsfw").default(false) } diff --git a/server/src/main/kotlin/suwayomi/tachidesk/server/database/migration/M0011_SourceDropPartOfFactorySource.kt b/server/src/main/kotlin/suwayomi/tachidesk/server/database/migration/M0011_SourceDropPartOfFactorySource.kt new file mode 100644 index 00000000..fbf57385 --- /dev/null +++ b/server/src/main/kotlin/suwayomi/tachidesk/server/database/migration/M0011_SourceDropPartOfFactorySource.kt @@ -0,0 +1,16 @@ +package suwayomi.tachidesk.server.database.migration + +/* + * Copyright (C) Contributors to the Suwayomi project + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ + +import de.neonew.exposed.migrations.helpers.DropColumnMigration + +@Suppress("ClassName", "unused") +class M0011_SourceDropPartOfFactorySource : DropColumnMigration( + "Source", + "part_of_factory_source", +)