We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb07f2a commit 08a3554Copy full SHA for 08a3554
migrations/Version20251010125849.php
@@ -0,0 +1,26 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
5
+namespace DoctrineMigrations;
6
7
+use Doctrine\DBAL\Schema\Schema;
8
+use Doctrine\Migrations\AbstractMigration;
9
10
+final class Version20251010125849 extends AbstractMigration
11
+{
12
+ public function getDescription(): string
13
+ {
14
+ return 'Add unique index to parts.ipn again';
15
+ }
16
17
+ public function up(Schema $schema): void
18
19
+ $this->addSql('CREATE UNIQUE INDEX UNIQ_6940A7FE3D721C14 ON parts (ipn)');
20
21
22
+ public function down(Schema $schema): void
23
24
+ $this->addSql('DROP INDEX UNIQ_6940A7FE3D721C14 ON `parts`');
25
26
+}
0 commit comments