From 2b95ee879b65665c6b20d857b4e5312a051e0ac1 Mon Sep 17 00:00:00 2001 From: Jump <65877373+jump-style@users.noreply.github.com> Date: Fri, 20 Jun 2025 00:22:04 +0700 Subject: [PATCH 1/3] fix: native:seed command The "native:seed" command cannot be found because it is registered under multiple names. Fixes #627 --- src/Commands/SeedDatabaseCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Commands/SeedDatabaseCommand.php b/src/Commands/SeedDatabaseCommand.php index 68b225a6..c64b007f 100644 --- a/src/Commands/SeedDatabaseCommand.php +++ b/src/Commands/SeedDatabaseCommand.php @@ -12,6 +12,8 @@ )] class SeedDatabaseCommand extends BaseSeedCommand { + protected $name = 'native:seed'; + public function handle() { (new NativeServiceProvider($this->laravel))->rewriteDatabase(); From 5694798fe4049a092722bbf01fc3ba277278f8b1 Mon Sep 17 00:00:00 2001 From: Jump <65877373+jump-style@users.noreply.github.com> Date: Sun, 22 Jun 2025 14:49:27 +0700 Subject: [PATCH 2/3] Change $name to $signature --- src/Commands/SeedDatabaseCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/SeedDatabaseCommand.php b/src/Commands/SeedDatabaseCommand.php index c64b007f..96462d74 100644 --- a/src/Commands/SeedDatabaseCommand.php +++ b/src/Commands/SeedDatabaseCommand.php @@ -12,7 +12,7 @@ )] class SeedDatabaseCommand extends BaseSeedCommand { - protected $name = 'native:seed'; + protected $signature = 'native:seed'; public function handle() { From 6db6c8dc7d5b0097557c4fbc58d26533d18f7678 Mon Sep 17 00:00:00 2001 From: Jump <65877373+jump-style@users.noreply.github.com> Date: Fri, 27 Jun 2025 21:48:38 +0700 Subject: [PATCH 3/3] Remove empty space --- src/Commands/SeedDatabaseCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/SeedDatabaseCommand.php b/src/Commands/SeedDatabaseCommand.php index 96462d74..cd56a20d 100644 --- a/src/Commands/SeedDatabaseCommand.php +++ b/src/Commands/SeedDatabaseCommand.php @@ -13,7 +13,7 @@ class SeedDatabaseCommand extends BaseSeedCommand { protected $signature = 'native:seed'; - + public function handle() { (new NativeServiceProvider($this->laravel))->rewriteDatabase();