phpvms icon indicating copy to clipboard operation
phpvms copied to clipboard

Ranks Seeder runs on every module install

Open FatihKoz opened this issue 2 years ago • 0 comments

[2021-11-14 19:55:40] production.INFO: Running seeder  
[2021-11-14 19:55:40] production.INFO: Seeding .D:\Projects\phpvms/app/Database\seeds/prod/ranks.yml 

Seeder runs on every module install and seeds ranks.yml. This happens for modules without seeds or migrations too.

Version Latest dev as of date

To Reproduce Steps to reproduce the behavior:

  1. Do a fresh install
  2. Edit your ranks, specially edit "New Pilot"
  3. Install a module
  4. Check logs and your ranks
  5. New Pilot will be defaulted and the seeding entry will be in the log

Expected behavior If not mandatory for some reason it should not run, or at best it should check if there is a "New Pilot" entry before overwriting it.

FatihKoz avatar Nov 14 '21 21:11 FatihKoz