mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-06-30 17:34:39 -05:00
we don't need that feild anymore
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
)
|
||||
Reference in New Issue
Block a user