Welcome Guest, Not a member yet? Register   Sign In
Run seed command in module
#9

Ok, there was an error in my Seeder file that was causing my problems but all works now

For Seeding from the App folder:
Code:
php spark db:seed YourSeederName

For Seeding from the Modules folder - must pass the namespace:
Code:
php spark db:seed Modules\YourModuleName\Database\Seeds\YourSeederName

If you still have problems please check your files for errors etc.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Run seed command in module - by Vespa - 01-05-2025, 07:47 AM
RE: Run seed command in module - by InsiteFX - 01-05-2025, 11:17 PM
RE: Run seed command in module - by Vespa - 01-06-2025, 01:15 AM
RE: Run seed command in module - by InsiteFX - 01-06-2025, 03:24 AM
RE: Run seed command in module - by Vespa - 01-06-2025, 06:22 AM
RE: Run seed command in module - by InsiteFX - 01-06-2025, 10:44 PM
RE: Run seed command in module - by InsiteFX - 01-07-2025, 10:41 PM
RE: Run seed command in module - by InsiteFX - 01-07-2025, 11:49 PM
RE: Run seed command in module - by InsiteFX - 01-08-2025, 11:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB