Ensure group table name is quoted, as it's a reserved word in postgreSQL

This commit is contained in:
Hugo Sales 2021-01-31 18:16:56 +00:00 committed by Hugo Sales
parent ab252accb2
commit eefdf74658
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -262,7 +262,7 @@ class Group extends Entity
public static function schemaDef(): array
{
return [
'name' => 'group',
'name' => '`group`',
'fields' => [
'id' => ['type' => 'serial', 'not null' => true],
'gsactor_id' => ['type' => 'int', 'not null' => true, 'description' => 'foreign key to gsactor table'],