forked from GNUsocial/gnu-social
Ensure group table name is quoted, as it's a reserved word in postgreSQL
This commit is contained in:
parent
ab252accb2
commit
eefdf74658
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user