MINOR: adding index to PermissionRoleCode.Code for faster filtering and sorting

This commit is contained in:
Nicolaas / Sunn Side Up 2022-01-05 09:40:12 +13:00 committed by GitHub
parent a7b8c9f038
commit 41530f0be3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,10 @@ class PermissionRoleCode extends DataObject
];
private static $table_name = "PermissionRoleCode";
private static $indexes = [
"Code" => true,
];
public function validate()
{