From 3ad8223949eebd06c8fc9477c6bd4c05a52a9dc1 Mon Sep 17 00:00:00 2001 From: nobohan Date: Mon, 25 Apr 2022 11:24:29 +0200 Subject: [PATCH] person: add unique index on table relationship to avoid duplicate fromperson_id/toperson_id pairs - typo cs fixer --- .../ChillPersonBundle/migrations/Version20220425000000.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/migrations/Version20220425000000.php b/src/Bundle/ChillPersonBundle/migrations/Version20220425000000.php index 2feb246bd..1dd50d224 100644 --- a/src/Bundle/ChillPersonBundle/migrations/Version20220425000000.php +++ b/src/Bundle/ChillPersonBundle/migrations/Version20220425000000.php @@ -34,4 +34,3 @@ final class Version20220425000000 extends AbstractMigration $this->addSql('CREATE UNIQUE INDEX IDX_RELATIONSHIPS000 ON chill_person_relationships (least(fromperson_id, toperson_id), greatest(fromperson_id, toperson_id))'); } } -