From b4df7fce6607278361b394462cb59491359e103b Mon Sep 17 00:00:00 2001 From: Newt Date: Sat, 31 Aug 2024 20:10:39 +0100 Subject: [PATCH] hotfix(subtypes): update multiple subtypes command --- app/Console/Commands/ConvertCharacterSubtype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/ConvertCharacterSubtype.php b/app/Console/Commands/ConvertCharacterSubtype.php index 89d2ac3fe3..f2e60b9836 100644 --- a/app/Console/Commands/ConvertCharacterSubtype.php +++ b/app/Console/Commands/ConvertCharacterSubtype.php @@ -50,7 +50,7 @@ public function handle() { // make the string into an array foreach ($updates as $update) { $update->update([ - 'subtype_ids' => $update->subtype_id, + 'subtype_ids' => [$update->subtype_id], ]); } Schema::table('design_updates', function (Blueprint $table) {