snipe-it/database/factories
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
..
AccessoryFactory.php Shift cleanup 2021-06-10 20:19:27 +00:00
ActionlogFactory.php Seeder fixes 2021-12-24 10:47:06 -08:00
AssetFactory.php Seeder fixes 2021-12-24 10:47:06 -08:00
AssetMaintenanceFactory.php Shift cleanup 2021-06-10 20:19:27 +00:00
AssetModelFactory.php Continuing to refactor tests 2021-12-02 16:14:45 -08:00
CategoryFactory.php Continuing to refactor tests 2021-12-02 16:14:45 -08:00
CompanyFactory.php Shift cleanup 2021-06-10 20:19:27 +00:00
ComponentFactory.php Fixed more factories 2021-06-11 19:41:20 -07:00
ConsumableFactory.php Shift cleanup 2021-06-10 20:19:27 +00:00
CustomFieldFactory.php Shift cleanup 2021-06-10 20:19:27 +00:00
CustomFieldsetFactory.php Shift cleanup 2021-06-10 20:19:27 +00:00
DepartmentFactory.php Shift cleanup 2021-06-10 20:19:27 +00:00
DepreciationFactory.php Fixed depreciation tests 2021-12-02 19:19:42 -08:00
GroupFactory.php Shift cleanup 2021-06-10 20:19:27 +00:00
LicenseFactory.php Fixed #7824 2022-01-10 14:03:28 -05:00
LocationFactory.php Removed unused Str 2021-12-01 23:30:48 -08:00
ManufacturerFactory.php Shift cleanup 2021-06-10 20:19:27 +00:00
SettingFactory.php Shift cleanup 2021-06-10 20:19:27 +00:00
StatuslabelFactory.php Shift cleanup 2021-06-10 20:19:27 +00:00
SupplierFactory.php Shift cleanup 2021-06-10 20:19:27 +00:00
UserFactory.php Fixed company unit test 2021-12-02 16:43:03 -08:00