<?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 Version20230630150527 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 property_type ADD logo VARCHAR(155) DEFAULT NULL COMMENT \'Logo de tipo de propiedad\' AFTER image');
$this->addSql('ALTER TABLE property_type CHANGE image image VARCHAR(155) NOT NULL COMMENT \'Imagen de tipo de propiedad\'');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE property_type DROP logo, CHANGE image image VARCHAR(155) DEFAULT NULL COMMENT \'Imagen de tipo de propiedad\'');
}
}