Welcome Guest, Not a member yet? Register   Sign In
Seeding canot run seeding for code modual

(This post was last modified: 06-17-2021, 12:27 PM by paliz.)

I find minor bug which ci4 can not  seeding in code modual. The only place it checks app/database/seeds

It dose not check my name space

> php spark db:seed -TestSeeder -n CoreCommon

i  can create seeder file in coreCommon namespace

php spark make:seeder MySeeder --namespace CoreCommon
Here it dosent recognize - n i look cmd ci4 it was - - namespace
It work like that

Check this out ci4 team
Enlightenment  Is  Freedom

db:seed does not accept a “-n” parameter - you simply pass the fully-namespaced seed name if it is not in App:

php spark db:seed "CoreCommon\Database\Seeds\TestSeeder"

(This post was last modified: 06-19-2021, 10:38 AM by paliz.)

Oky thanks man

Document need to be update

Document need to be update
Enlightenment  Is  Freedom

> Document need to be update

Would you submit a Pull Request for this please?

Theme © iAndrew 2016 - Forum software by © MyBB