From 318acbe677c6f34b45f9504e958ce183a99b5b31 Mon Sep 17 00:00:00 2001 From: Finn Schneider Date: Wed, 8 Oct 2025 10:55:00 +0200 Subject: rename migration --- db/migrations/5.5.36_add_wiki_preliminary.php | 23 +++++++++++++++++++++++ db/migrations/6.2.2_add_wiki_preliminary.php | 23 ----------------------- 2 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 db/migrations/5.5.36_add_wiki_preliminary.php delete mode 100644 db/migrations/6.2.2_add_wiki_preliminary.php diff --git a/db/migrations/5.5.36_add_wiki_preliminary.php b/db/migrations/5.5.36_add_wiki_preliminary.php new file mode 100644 index 0000000..8e8b836 --- /dev/null +++ b/db/migrations/5.5.36_add_wiki_preliminary.php @@ -0,0 +1,23 @@ +exec( + "ALTER TABLE `wiki_pages` ADD COLUMN `preliminary` TINYINT NOT NULL DEFAULT 0" + ); + } + + protected function down(): void + { + DBManager::get()->exec( + "ALTER TABLE `wiki_pages` DROP COLUMN `preliminary`" + ); + } +} diff --git a/db/migrations/6.2.2_add_wiki_preliminary.php b/db/migrations/6.2.2_add_wiki_preliminary.php deleted file mode 100644 index 8e8b836..0000000 --- a/db/migrations/6.2.2_add_wiki_preliminary.php +++ /dev/null @@ -1,23 +0,0 @@ -exec( - "ALTER TABLE `wiki_pages` ADD COLUMN `preliminary` TINYINT NOT NULL DEFAULT 0" - ); - } - - protected function down(): void - { - DBManager::get()->exec( - "ALTER TABLE `wiki_pages` DROP COLUMN `preliminary`" - ); - } -} -- cgit v1.0