Browse Source

add example seeder

Dennis 3 years ago
parent
commit
d59a99d002
1 changed files with 1 additions and 0 deletions
  1. 1 0
      public/install/index.php

+ 1 - 0
public/install/index.php

@@ -295,6 +295,7 @@ echo $cardheader;
                 $cmd = "cd '$path' && bash -c 'exec -a ServerCPP php artisan migrate --seed --force' 2>&1";
                 $resp = shell_exec($cmd);
                 shell_exec('php artisan migrate --seed --force');
+                shell_exec('php artisan db:seed --class=ExampleItemsSeeder --force');
             }
             echo $cardheader;
             ?>