diff --git a/database/migrations/2025_02_28_193416_create_commands_table.php b/database/migrations/2025_02_28_193416_create_commands_table.php index 0e7e2cee..8a75fe94 100644 --- a/database/migrations/2025_02_28_193416_create_commands_table.php +++ b/database/migrations/2025_02_28_193416_create_commands_table.php @@ -1,5 +1,6 @@ text('command'); $table->timestamps(); }); + + foreach (Site::all() as $site) { + $site->commands()->createMany($site->type()->baseCommands()); + } } /**