Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Module seeder doesn't working

Ricardo Rodriguez   ( User )

Commented 5 years ago

I can't make my module's seed to work. I want to add some entries to the settings table and I have the same code that OfflinePayments as I took it as an example. But when I try to run the seeder as php artisan module:seed BillCounter the outputs says Module [BillCounter] seeded but nothing happens in the DB. Also using var_dump(Setting::all()) when finishing the script after the Model::reguard() call it prints the new entries.


 


My seeder code: https://imgur.com/Jqxpqak


Output with var_dump: https://imgur.com/VJgaAhc

Please login or register to leave a response.

Showing 1 to 1 of 1 discussions