running "php forge seed" get error when install version 3



Installation 1 year ago by ccng

According to Version 3 Docs, I have installed the through Composer and try to run the "php forge seed" and get error as: [Symfony\Component\Console\Exception\CommandNotFoundException] Command "seed" is not defined. Did you mean one of these? db:seed module:seed make:seeder make:module:seeder

Is the script be "php forge db:seed" instead? Thanks,



1 year ago by daveismyname

yes the correct command for global seeding is

php forge db:seed

For module seeding

php forge module:seed


1 year ago by ccng

Thanks.


Login to reply.