migrations/Version20220430150734.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. use Symfony\Component\HttpFoundation\File\File;
  7. use Vich\UploaderBundle\Mapping\Annotation as Vich;
  8. /**
  9.  * @ORM\Entity
  10.  * @Vich\Uploadable
  11.  */
  12. final class Version20220430150734 extends AbstractMigration
  13. {
  14.     public function getDescription(): string
  15.     {
  16.         return '';
  17.     }
  18.     public function up(Schema $schema): void
  19.     {
  20.         // this up() migration is auto-generated, please modify it to your needs
  21.         // $this->addSql('ALTER TABLE article ADD updated_at DATETIME NOT NULL');
  22.     }
  23.     public function down(Schema $schema): void
  24.     {
  25.         // this down() migration is auto-generated, please modify it to your needs
  26.         // $this->addSql('ALTER TABLE article DROP updated_at');
  27.     }
  28. }