<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20230510164853 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE std_blocks_components CHANGE component_type component_type VARCHAR(50) NOT NULL COMMENT \'Type of the component (INPUT, IMAGE, TEXTAREA, DATE, COLORPICKER, GALLERY, CHECKBOX, FILE, HOTSPOT, COMBO, COMBO_PAGES, COMBO_CONTENT_TYPE, COMBO_CATEGORY, COMBO_CONTENT_SKIN, COMBO_TEMPLATE, COMBO_CONTENT_SNIPPET)\'');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE std_blocks_components CHANGE component_type component_type VARCHAR(20) NOT NULL COMMENT \'Type of the component (INPUT, IMAGE, TEXTAREA, DATE, COLORPICKER, GALLERY, CHECKBOX, FILE, HOTSPOT, COMBO, COMBO_PAGES, COMBO_CONTENT_TYPE, COMBO_CATEGORY, COMBO_CONTENT_SKIN, COMBO_TEMPLATE)\'');
}
}