From 226cc3d6cb825aae67102e6ab359c513f688707b Mon Sep 17 00:00:00 2001 From: JJ <3617814+joligario@users.noreply.github.com> Date: Sun, 3 Dec 2023 09:17:58 -1000 Subject: [PATCH] [Scripts] Revert database engine change from #3702. (#3736) InnoDB doesn't like the lengths. Will need to address that in the future. --- utils/scripts/import_13th_floor.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/scripts/import_13th_floor.pl b/utils/scripts/import_13th_floor.pl index 76e1deb025..edaa5ad00b 100644 --- a/utils/scripts/import_13th_floor.pl +++ b/utils/scripts/import_13th_floor.pl @@ -72,7 +72,7 @@ sub read_items_file_from_13th_floor_text { #::: If we don't have items_floor table if ($has_items_floor eq '') { - $dbh->do("CREATE TABLE `items_floor` (`" . join("` VARCHAR(64) NOT NULL DEFAULT '', `", @fields). "` VARCHAR(64) NOT NULL DEFAULT '', UNIQUE INDEX `ID` (`id`)) COLLATE='latin1_swedish_ci' ENGINE=InnoDB"); + $dbh->do("CREATE TABLE `items_floor` (`" . join("` VARCHAR(64) NOT NULL DEFAULT '', `", @fields). "` VARCHAR(64) NOT NULL DEFAULT '', UNIQUE INDEX `ID` (`id`)) COLLATE='latin1_swedish_ci' ENGINE=MyISAM"); $dbh->do("ALTER TABLE `items_floor` CHANGE `id` `id` INT(11) NOT NULL DEFAULT '0'"); printf "Database items_floor created\n"; }