migrations/Version20230629150342.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4.  * This file is part of Symfony Keen Template Project.
  5.  * (c) 2021 One AM SRL
  6.  */
  7. namespace App\Migrations;
  8. use Doctrine\DBAL\Schema\Schema;
  9. use Doctrine\Migrations\AbstractMigration;
  10. /**
  11.  * Auto-generated Migration: Please modify to your needs!
  12.  */
  13. final class Version20230629150342 extends AbstractMigration
  14. {
  15.     public function getDescription(): string
  16.     {
  17.         return '';
  18.     }
  19.     public function up(Schema $schema): void
  20.     {
  21.         // this up() migration is auto-generated, please modify it to your needs
  22.         $this->addSql('ALTER TABLE footer_entry ADD headquarter_type VARCHAR(255) DEFAULT NULL, ADD blank TINYINT(1) NOT NULL');
  23.     }
  24.     public function down(Schema $schema): void
  25.     {
  26.         // this down() migration is auto-generated, please modify it to your needs
  27.         $this->addSql('ALTER TABLE footer_entry DROP headquarter_type, DROP blank');
  28.     }
  29. }