From cbdbcaae7e480a7d4a391d6c2f7a150d37b7d099 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 30 Jul 2025 17:00:16 +0200 Subject: [PATCH] unique pilotage reference --- httpdocs/migrations/Version20250730143825.php | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 httpdocs/migrations/Version20250730143825.php diff --git a/httpdocs/migrations/Version20250730143825.php b/httpdocs/migrations/Version20250730143825.php new file mode 100644 index 0000000..1bcb27e --- /dev/null +++ b/httpdocs/migrations/Version20250730143825.php @@ -0,0 +1,31 @@ +addSql('CREATE UNIQUE INDEX UNIQ_7656F53B69AF50E7 ON trip (pilotage_reference)'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('DROP INDEX UNIQ_7656F53B69AF50E7 ON trip'); + } +}