vendor/boldr/shop-bundle/migrations/Version1_23_0.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Boldr\Shop\ShopBundle\Migrations;
  4. use Boldr\Cms\CmsBundle\BoldrCmsMigration;
  5. use Doctrine\DBAL\Schema\Schema;
  6. final class Version1_23_0 extends BoldrCmsMigration
  7. {
  8.     public function getBundle(): string { return 'boldr/shop-bundle'; }
  9.     public function getVersion(): ?string { return '1.23.0'; }
  10.     public function up(Schema $schema): void
  11.     {
  12.         // this up() migration is auto-generated, please modify it to your needs
  13.         $this->addSql('ALTER TABLE shop_discount ADD disabled_days VARCHAR(255) NOT NULL');
  14.     }
  15. }