diff --git a/app/Services/Eggs/Sharing/EggImporterService.php b/app/Services/Eggs/Sharing/EggImporterService.php index 5c464830a..3e90b3375 100644 --- a/app/Services/Eggs/Sharing/EggImporterService.php +++ b/app/Services/Eggs/Sharing/EggImporterService.php @@ -247,7 +247,7 @@ class EggImporterService unset($parsed['startup']); $parsed['startup_commands'] = [ - $startup => $startup, + 'Default' => $startup, ]; return $parsed; diff --git a/database/migrations/2025_09_03_090706_support_multiple_startup_commands.php b/database/migrations/2025_09_03_090706_support_multiple_startup_commands.php index db6a45180..8c0eb93ba 100644 --- a/database/migrations/2025_09_03_090706_support_multiple_startup_commands.php +++ b/database/migrations/2025_09_03_090706_support_multiple_startup_commands.php @@ -18,9 +18,7 @@ return new class extends Migration }); DB::table('eggs')->select(['id', 'startup'])->cursor()->each(function ($egg) { - $startup = $egg->startup; - - DB::table('eggs')->where('id', $egg->id)->update(['startup_commands' => [$startup => $startup]]); + DB::table('eggs')->where('id', $egg->id)->update(['startup_commands' => ['Default' => $egg->startup]]); }); Schema::table('eggs', function (Blueprint $table) {