we don't need that feild anymore

This commit is contained in:
Aria Moradi
2021-08-24 22:23:00 +04:30
parent 9c007483d4
commit f11a52e8e1
3 changed files with 17 additions and 2 deletions

View File

@@ -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

View File

@@ -14,6 +14,5 @@ object SourceTable : IdTable<Long>() {
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)
}

View File

@@ -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",
)