Skip to content

Commit 5e1f833

Browse files
committed
Added comment on migration
1 parent b2ac0e6 commit 5e1f833

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

migrations/Version20250117101700.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Doctrine\Migrations\AbstractMigration;
99

1010
/**
11-
* Auto-generated Migration: Please modify to your needs!
11+
* Note: The up and down steps are the same in this migration, but it makes something fall into place.
1212
*/
1313
final class Version20250117101700 extends AbstractMigration
1414
{
@@ -19,13 +19,11 @@ public function getDescription(): string
1919

2020
public function up(Schema $schema): void
2121
{
22-
// this up() migration is auto-generated, please modify it to your needs
2322
$this->addSql('ALTER TABLE user CHANGE roles roles JSON NOT NULL COMMENT \'(DC2Type:json)\'');
2423
}
2524

2625
public function down(Schema $schema): void
2726
{
28-
// this down() migration is auto-generated, please modify it to your needs
2927
$this->addSql('ALTER TABLE user CHANGE roles roles JSON NOT NULL COMMENT \'(DC2Type:json)\'');
3028
}
3129
}

0 commit comments

Comments
 (0)