snipe-it/database
Brad 81084fa717 Fixed #7824
Previously there was a 999 max seats on Licenses as anything above that seemed to cause slowdowns and failure.

This commit allievates those pain points

- removed freeSeats as a hydrated Eloquent model on JSON requests for the licenses index
- removed 'licenseSeats.user', 'licenseSeats.asset' from the 'with' clause as it's not needed in the view (Datatabales takes care of that)
- removed the 999 max seats limit from the License Model,
- reworked how new license seats are created when increasing seats or creating licenses
- Added an index the license_seats table to help speed up lookups
2022-01-10 14:03:28 -05:00
..
factories Fixed #7824 2022-01-10 14:03:28 -05:00
migrations Fixed #7824 2022-01-10 14:03:28 -05:00
seeders A few seeder fixes 2021-09-23 22:16:19 -07:00
.gitignore Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00