mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: adding index to PermissionRoleCode.Code for faster filtering and sorting
This commit is contained in:
parent
a7b8c9f038
commit
41530f0be3
@ -24,6 +24,10 @@ class PermissionRoleCode extends DataObject
|
||||
|
||||
private static $table_name = "PermissionRoleCode";
|
||||
|
||||
private static $indexes = [
|
||||
"Code" => true,
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
$result = parent::validate();
|
||||
|
Loading…
Reference in New Issue
Block a user