mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2026-01-06 03:42:34 +01:00
Increase chapter scanlator column max length (#1425)
This commit is contained in:
@@ -21,7 +21,7 @@ object ChapterTable : IntIdTable() {
|
||||
val name = truncatingVarchar("name", 512)
|
||||
val date_upload = long("date_upload").default(0)
|
||||
val chapter_number = float("chapter_number").default(-1f)
|
||||
val scanlator = truncatingVarchar("scanlator", 128).nullable()
|
||||
val scanlator = truncatingVarchar("scanlator", 256).nullable()
|
||||
|
||||
val isRead = bool("read").default(false)
|
||||
val isBookmarked = bool("bookmark").default(false)
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
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.SQLMigration
|
||||
|
||||
@Suppress("ClassName", "unused")
|
||||
class M0047_ChapterScanlatorIncreaseLength : SQLMigration() {
|
||||
override val sql =
|
||||
"""
|
||||
ALTER TABLE CHAPTER ALTER COLUMN SCANLATOR VARCHAR(256);`
|
||||
""".trimIndent()
|
||||
}
|
||||
Reference in New Issue
Block a user