From eefdf74658ccf3b0fb4d7ed98a789f50617b5bfa Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Sun, 31 Jan 2021 18:16:56 +0000 Subject: [PATCH] Ensure group table name is quoted, as it's a reserved word in postgreSQL --- src/Entity/Group.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Group.php b/src/Entity/Group.php index e44636db51..26caf65bda 100644 --- a/src/Entity/Group.php +++ b/src/Entity/Group.php @@ -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'],