mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10190 from sunnysideup/patch-21
ENH Add index to PermissionRoleCode.Code for filtering + sorting
This commit is contained in:
commit
7b19299fbe
@ -23,6 +23,10 @@ class PermissionRoleCode extends DataObject
|
||||
];
|
||||
|
||||
private static $table_name = "PermissionRoleCode";
|
||||
|
||||
private static $indexes = [
|
||||
"Code" => true,
|
||||
];
|
||||
|
||||
public function validate()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user