From 87f5e9b847af6c28173c9c560360b8c923aa1dc1 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Thu, 26 Aug 2021 22:10:51 +0430 Subject: [PATCH] fix migration number --- .../database/migration/M0012_SourceIsNsfw.kt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 server/src/main/kotlin/suwayomi/tachidesk/server/database/migration/M0012_SourceIsNsfw.kt diff --git a/server/src/main/kotlin/suwayomi/tachidesk/server/database/migration/M0012_SourceIsNsfw.kt b/server/src/main/kotlin/suwayomi/tachidesk/server/database/migration/M0012_SourceIsNsfw.kt new file mode 100644 index 00000000..e0a6f687 --- /dev/null +++ b/server/src/main/kotlin/suwayomi/tachidesk/server/database/migration/M0012_SourceIsNsfw.kt @@ -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.AddColumnMigration + +@Suppress("ClassName", "unused") +class M0012_SourceIsNsfw : AddColumnMigration( + "Source", + "is_nsfw", + "BOOLEAN", + "FALSE" +)