From af8e02f76b25c1edd06975f1e5b9b9e821badfb8 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Tue, 21 Nov 2023 08:13:46 +0100 Subject: [PATCH] Migration to change instances of gender neuter to both --- .../migrations/Version20231121070151.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/Bundle/ChillPersonBundle/migrations/Version20231121070151.php diff --git a/src/Bundle/ChillPersonBundle/migrations/Version20231121070151.php b/src/Bundle/ChillPersonBundle/migrations/Version20231121070151.php new file mode 100644 index 000000000..0fa8b063a --- /dev/null +++ b/src/Bundle/ChillPersonBundle/migrations/Version20231121070151.php @@ -0,0 +1,28 @@ +addSql('UPDATE chill_person_person SET gender = "both" WHERE gender = "neuter"'); + } + + public function down(Schema $schema): void + { + } +}