From b490f4a82c83f7b063775bc389eeab2fe0098c80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 19 Apr 2021 12:58:47 +0200 Subject: [PATCH] fix migration for parcours - rename sequence for closing motive --- .../migrations/Version20210419105054.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/Bundle/ChillPersonBundle/migrations/Version20210419105054.php diff --git a/src/Bundle/ChillPersonBundle/migrations/Version20210419105054.php b/src/Bundle/ChillPersonBundle/migrations/Version20210419105054.php new file mode 100644 index 000000000..c2b752822 --- /dev/null +++ b/src/Bundle/ChillPersonBundle/migrations/Version20210419105054.php @@ -0,0 +1,32 @@ +addSql('ALTER TABLE chill_person_closingmotive_id_seq RENAME TO ' + . 'chill_person_accompanying_period_closingmotive_id_seq'); + + } + + public function down(Schema $schema) : void + { + $this->addSql('ALTER TABLE chill_person_accompanying_period_closingmotive_id_seq ' + . 'RENAME TO chill_person_closingmotive_id_seq'); + } +}