migrations/Version20240812181027.php line 1
<?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 Version20240812181027 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 form ADD submit_btn_label VARCHAR(255) DEFAULT NULL, ADD custom_css LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE form_field ADD name VARCHAR(255) NOT NULL, ADD grid_columns INT DEFAULT NULL, ADD css_classes VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE form DROP submit_btn_label, DROP custom_css');
$this->addSql('ALTER TABLE form_field DROP name, DROP grid_columns, DROP css_classes');
}
}