Run seed command in module |
I have create an Admin module, to add an Admin user into the db I created a seed file into the Admin\Database\Seeds path, below the code of the seeder
Code: namespace Admin\Database\Seeds; The issue arises when I run the php spark db ![]() [InvalidArgumentException] The specified seeder is not a valid file: D:\project\app\Database/Seeds/AddAdminAccount I'm sure that could be an option to set spark db command to run in Admin module namespace...but I wasn't able to find it in CI documentation...am I wrong? Is it possible to run seed file in Admin module? Thanks a lot for your feedback |
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
|