From 573118e5140eddc0a3b83d63863ba7cae46a2d6b Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 16 Jan 2025 13:05:18 +0100 Subject: [PATCH] Undo change migration --- .changes/unreleased/Fixed-20250116-122502.yaml | 5 ----- .../ChillPersonBundle/migrations/Version20241104142216.php | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 .changes/unreleased/Fixed-20250116-122502.yaml diff --git a/.changes/unreleased/Fixed-20250116-122502.yaml b/.changes/unreleased/Fixed-20250116-122502.yaml deleted file mode 100644 index 5d0b119ef..000000000 --- a/.changes/unreleased/Fixed-20250116-122502.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: Fixed -body: Length of marital status id increased -time: 2025-01-16T12:25:02.038860239+01:00 -custom: - Issue: "" diff --git a/src/Bundle/ChillPersonBundle/migrations/Version20241104142216.php b/src/Bundle/ChillPersonBundle/migrations/Version20241104142216.php index fa6088a39..5ad28eba7 100644 --- a/src/Bundle/ChillPersonBundle/migrations/Version20241104142216.php +++ b/src/Bundle/ChillPersonBundle/migrations/Version20241104142216.php @@ -23,9 +23,9 @@ final class Version20241104142216 extends AbstractMigration public function up(Schema $schema): void { - $this->addSql('ALTER TABLE chill_person_marital_status ALTER id TYPE VARCHAR(50)'); + $this->addSql('ALTER TABLE chill_person_marital_status ALTER id TYPE VARCHAR(7)'); $this->addSql('ALTER TABLE chill_person_person DROP cfdata_old'); - $this->addSql('ALTER TABLE chill_person_person ALTER maritalstatus_id TYPE VARCHAR(50)'); + $this->addSql('ALTER TABLE chill_person_person ALTER maritalstatus_id TYPE VARCHAR(7)'); } public function down(Schema $schema): void