Open yuki12321 opened 1 year ago
Not sure if that's correct use of Seeders 🤔
Try migrations maybe? They can be used not only to alter DB tables, but to insert essential data too, no big shame in that. Look in the laravel-admin migrations in your project's database/migrations
directory for inspiration.
Description:
laravel-admin is very useful. Thanks for your great contribution.
Excuse my rudimentary question. I looked for a similar question but couldn't find it with my help.
I would like to release menus created locally to other environments. If this is to be accomplished, is it correct that a Seeder needs to be created and run at release time? This time we want to release
title
asManager
andFeature
. The menu content is soft coded in theadmin_menu
table, is there any way to hard code this for release? (I would like to know if there is a way to prevent Seeder from omitting to create/update/delete them)Steps To Reproduce: