<?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 Version20230419144446 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 tramite ADD path_interno LONGTEXT DEFAULT NULL AFTER descripcion, ADD es_path_interno TINYINT(1) DEFAULT 0 COMMENT \'Se usa el path para redireccionar dentro de la app o se usa el link con la url de drupal\' AFTER activo');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE tramite DROP path_interno, DROP es_path_interno');
}
}