[ENTITY] Remove 'normalized_nickname' field from GSActor as that feature will be moved to a plugin
This commit is contained in:
parent
2f69579ddb
commit
e77498ac19
|
@ -297,7 +297,6 @@ class GSActor extends Entity
|
|||
'fields' => [
|
||||
'id' => ['type' => 'serial', 'not null' => true, 'description' => 'unique identifier'],
|
||||
'nickname' => ['type' => 'varchar', 'length' => 64, 'not null' => true, 'description' => 'nickname or username'],
|
||||
'normalized_nickname' => ['type' => 'varchar', 'length' => 64, 'not null' => true, 'description' => 'normalized (as per Nickanme::normalize) nickname or username'],
|
||||
'fullname' => ['type' => 'text', 'description' => 'display name'],
|
||||
'roles' => ['type' => 'int', 'not null' => true, 'default' => UserRoles::USER, 'description' => 'Bitmap of permissions this gsactor has'],
|
||||
'homepage' => ['type' => 'text', 'description' => 'identifying URL'],
|
||||
|
@ -313,7 +312,6 @@ class GSActor extends Entity
|
|||
'primary key' => ['id'],
|
||||
'indexes' => [
|
||||
'gsactor_nickname_idx' => ['nickname'],
|
||||
'gsactor_normalized_nickname_idx' => ['normalized_nickname'],
|
||||
],
|
||||
'fulltext indexes' => [
|
||||
'gsactor_fulltext_idx' => ['nickname', 'fullname', 'location', 'bio', 'homepage'],
|
||||
|
|
Loading…
Reference in New Issue
Block a user