minor change to rerun pipeline

This commit is contained in:
Julie Lenaerts 2023-11-01 09:48:48 +01:00
parent ec85f05e0b
commit f43bd2bc58

View File

@ -24,7 +24,8 @@ class PersonMoveRelationHandler implements PersonMoveSqlHandlerInterface
public function getSqls(string $className, string $field, Person $from, Person $to): array public function getSqls(string $className, string $field, Person $from, Person $to): array
{ {
// Insert sql statement taking into account two cases. One where the person is the fromperson and another where the person is the toperson in the relationship. /* Insert sql statement taking into account two cases.
One where the person is the fromperson and another where the person is the toperson in the relationship.*/
$insertSql = sprintf(<<<'SQL' $insertSql = sprintf(<<<'SQL'
INSERT INTO chill_person_relationships (id, relation_id, reverse, createdat, createdby_id, fromperson_id, toperson_id) INSERT INTO chill_person_relationships (id, relation_id, reverse, createdat, createdby_id, fromperson_id, toperson_id)
SELECT nextval('chill_person_relationships_id_seq'), relation_id, reverse, createdat, createdby_id, SELECT nextval('chill_person_relationships_id_seq'), relation_id, reverse, createdat, createdby_id,