diff --git a/src/Bundle/ChillPersonBundle/migrations/Version20211119215630.php b/src/Bundle/ChillPersonBundle/migrations/Version20211119215630.php index d7aa850ee..fe4ce1daf 100644 --- a/src/Bundle/ChillPersonBundle/migrations/Version20211119215630.php +++ b/src/Bundle/ChillPersonBundle/migrations/Version20211119215630.php @@ -36,7 +36,7 @@ final class Version20211119215630 extends AbstractMigration public function down(Schema $schema): void { - $this->addSql("CREATE VIEW view_chill_person_current_address AS + $this->addSql("CREATE OR REPLACE VIEW view_chill_person_current_address AS SELECT cphm.person_id AS person_id, cma.id AS address_id,