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

(This post was last modified: 01-06-2025, 01:16 AM by Vespa.)

Thanks for feedback InsiteFX.
I knew about spark list command...in this case the level of info details in that command is useless to fix my issue, even the php spark db seed --help command doesn't provide any useful info.

I knew the Managing Database Seeding page in CI web site...I followed that info ( and the Dave Hollingworth course ) to create the seed file into the module Admin folder...using the command
Code:
php spark make:seeder AddAdminAccount --namespace Admin

Unfortunately I don't find any command to run the seed file in the Admin namespace
The following command:
Code:
php spark db:seed AddAdminAccount

return the following error
Code:
The specified seeder is not a valid file: D:\Aero Club Belluno\composer-aeclidb\app\Database/Seeds/AddAdminAccount.php


I tried to add namespace, with
Code:
php spark db:seed AddAdminAccount --namespace Admin


But again the same error

I'm doing something wrong...I'm sure the fault is on my side...but from the documentation around here I cannot find the fix
Again, thanks for taking the time to help
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