savannabits / acacia

Backend Code Generator for Laravel 9, Vue 3 and Tailwindcss 3 using primevue
https://acacia.savannabits.com
MIT License
41 stars 10 forks source link

Issue Noted: Menus don't appear unless you run php acacia:seed Twice #45

Open coolsam726 opened 2 years ago

coolsam726 commented 2 years ago
coolsam726 commented 2 years ago

This could be due to the fact that other modules are seeded before the Users module (in alphabetical order), yet the Users module is the one that seeds the initial admin user. Hence by the time the modules are seeding, there is no user to assign the admin permissions to. Possible Solution: Ensure the initial admin user is seeded even before all the other modules begin seeding.