snipe-it/app/Models
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
..
Recipients Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
Traits Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
Accessory.php Merge branch 'develop-v6-integration' into develop-v6-rc1 2021-09-21 23:46:50 -07:00
Actionlog.php Shift cleanup 2021-06-10 20:19:27 +00:00
Asset.php Fixed category factory methods 2021-12-02 13:40:16 -08:00
AssetMaintenance.php Shift cleanup 2021-06-10 20:19:27 +00:00
AssetModel.php Fixed category factory methods 2021-12-02 13:40:16 -08:00
Category.php Added a validation to use the same name in categories with different types 2021-10-08 15:19:16 -05:00
CheckoutAcceptance.php Convert deprecated $dates property to $casts 2021-06-10 20:17:18 +00:00
CheckoutRequest.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
Company.php Merge branch 'develop-v6-integration' into develop-v6-rc1 2021-09-21 23:46:50 -07:00
CompanyableChildScope.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
CompanyableChildTrait.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
CompanyableScope.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
CompanyableTrait.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
Component.php Shift cleanup 2021-06-10 20:19:27 +00:00
Consumable.php Merge remote-tracking branch 'origin/master' into develop 2021-11-15 19:24:38 -08:00
ConsumableAssignment.php Convert deprecated $dates property to $casts 2021-06-10 20:17:18 +00:00
CustomField.php Shift cleanup 2021-06-10 20:19:27 +00:00
CustomFieldset.php Shift cleanup 2021-06-10 20:19:27 +00:00
Department.php Shift cleanup 2021-06-10 20:19:27 +00:00
Depreciable.php adds a Floor value for depreciation models 2021-08-16 18:14:10 -07:00
Depreciation.php Shift cleanup 2021-06-10 20:19:27 +00:00
Group.php Shift cleanup 2021-06-10 20:19:27 +00:00
ICompanyableChild.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
Import.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
Ldap.php Merge branch 'develop-v6-integration' into develop-v6-rc1 2021-09-21 23:46:50 -07:00
License.php Fixed #7824 2022-01-10 14:03:28 -05:00
LicenseSeat.php Convert deprecated $dates property to $casts 2021-06-10 20:17:18 +00:00
Location.php Shift cleanup 2021-06-10 20:19:27 +00:00
Loggable.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
Manufacturer.php Shift cleanup 2021-06-10 20:19:27 +00:00
PredefinedKit.php Shift bindings 2021-06-10 20:16:56 +00:00
Requestable.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
Setting.php Merge master down into develop 2021-12-16 14:26:24 -08:00
SnipeModel.php Shift cleanup 2021-06-10 20:19:27 +00:00
Statuslabel.php Applies PR #9761 to integration 2021-06-28 13:11:22 -07:00
Supplier.php Applies #10470 to develop 2021-12-27 13:22:47 -08:00
User.php Merge branch 'develop-v6-integration' into develop-v6-rc1 2021-09-21 23:46:50 -07:00