migrations/Version20250202141222.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace DoctrineMigrations;
  4. use Doctrine\DBAL\Schema\Schema;
  5. use Doctrine\Migrations\AbstractMigration;
  6. /**
  7.  * Auto-generated Migration: Please modify to your needs!
  8.  */
  9. final class Version20250202141222 extends AbstractMigration
  10. {
  11.     public function getDescription(): string
  12.     {
  13.         return '';
  14.     }
  15.     public function up(Schema $schema): void
  16.     {
  17.         // this up() migration is auto-generated, please modify it to your needs
  18.         $this->addSql('ALTER TABLE catalogue_import ADD sort_a INT DEFAULT NULL, ADD sort_b INT DEFAULT NULL, ADD sort_c INT DEFAULT NULL, ADD sort_d INT DEFAULT NULL, ADD sort_e INT DEFAULT NULL, ADD sort_f INT DEFAULT NULL, ADD sort_g INT DEFAULT NULL, ADD sort_h INT DEFAULT NULL, ADD sort_i INT DEFAULT NULL, ADD sort_j INT DEFAULT NULL, ADD sort_k INT DEFAULT NULL, ADD sort_l INT DEFAULT NULL');
  19.        }
  20.     public function down(Schema $schema): void
  21.     {
  22.         // this down() migration is auto-generated, please modify it to your needs
  23.         $this->addSql('ALTER TABLE catalogue_import DROP sort_a, DROP sort_b, DROP sort_c, DROP sort_d, DROP sort_e, DROP sort_f, DROP sort_g, DROP sort_h, DROP sort_i, DROP sort_j, DROP sort_k, DROP sort_l');
  24.     }
  25. }