We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 988c84e + 014b58e commit fe85255Copy full SHA for fe85255
src/Migrations/Version20251217100000.php
@@ -0,0 +1,23 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
5
+namespace Shopsys\FrameworkBundle\Migrations;
6
7
+use Doctrine\DBAL\Schema\Schema;
8
+use Override;
9
+use Shopsys\MigrationBundle\Component\Doctrine\Migrations\AbstractMigration;
10
11
+class Version20251217100000 extends AbstractMigration
12
+{
13
+ /**
14
+ * @param \Doctrine\DBAL\Schema\Schema $schema
15
+ */
16
+ #[Override]
17
+ public function up(Schema $schema): void
18
+ {
19
+ if ($this->isAppMigrationNotInstalledRemoveIfExists('Version20251217100000')) {
20
+ $this->sql('ALTER TABLE slider_items ADD route_name VARCHAR(255) DEFAULT NULL');
21
+ }
22
23
+}
0 commit comments