From 140283a2a8bca359f51a1c0993cd68691ad7790a Mon Sep 17 00:00:00 2001 From: jmbardallo Date: Mon, 13 Apr 2026 14:02:33 +0200 Subject: [PATCH] =?UTF-8?q?fichero=20de=20migracion=20de=20doctrine=20con?= =?UTF-8?q?=20el=20cambio=20para=20a=C3=B1adir=20fecha=20de=20despliegue?= =?UTF-8?q?=20de=20imagen=20en=20particion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ migrations/Version20260413114545.php | 31 ++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 migrations/Version20260413114545.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 481baa1..39d73b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [1.4.2] - 2026-04-13 +### Fixed +- Añadido fichero de migración con el cambio en la base de datos para añadir la fecha de despliegue de una partición. + ## [1.4.1] - 2026-04-08 ### Added - En el comando RestaurarImagen se añade el parámetros "update-cache" o "deploy" para realizar el despliegue completo o sólo la actualización de la cache diff --git a/migrations/Version20260413114545.php b/migrations/Version20260413114545.php new file mode 100644 index 0000000..53b03c2 --- /dev/null +++ b/migrations/Version20260413114545.php @@ -0,0 +1,31 @@ +addSql('ALTER TABLE `partition` ADD deploy_date DATETIME DEFAULT NULL'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('ALTER TABLE `partition` DROP deploy_date'); + } +} -- 2.40.1