<?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 Version20211111150239 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('CREATE TABLE module_page (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, slug VARCHAR(255) NOT NULL, title VARCHAR(255) NOT NULL, description CLOB NOT NULL, capability_title VARCHAR(255) DEFAULT NULL, capability_text CLOB DEFAULT NULL, configure_title VARCHAR(255) DEFAULT NULL, configure_text CLOB DEFAULT NULL, tariffs CLOB NOT NULL --(DC2Type:json)
)');
$this->addSql('DROP TABLE integration_page');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE TABLE integration_page (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)');
$this->addSql('DROP TABLE module_page');
}
}