<?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 Version20230129005648 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 user ADD notas_gerencia LONGTEXT DEFAULT NULL, ADD descripcion_personal LONGTEXT DEFAULT NULL, ADD web_personal VARCHAR(511) DEFAULT NULL, ADD email_personal VARCHAR(511) DEFAULT NULL, ADD rpv VARCHAR(255) DEFAULT NULL, ADD telefono_personal VARCHAR(255) DEFAULT NULL, ADD telefono_personal2 VARCHAR(255) DEFAULT NULL, ADD phone_external VARCHAR(255) DEFAULT NULL, ADD postal_code VARCHAR(255) DEFAULT NULL, ADD address VARCHAR(511) DEFAULT NULL, ADD nationality VARCHAR(255) DEFAULT NULL, ADD born_place VARCHAR(511) DEFAULT NULL, ADD born_date DATETIME DEFAULT NULL, ADD sexenios VARCHAR(255) DEFAULT NULL, ADD is_acred_contratado_doctor TINYINT(1) DEFAULT NULL, ADD academic_grade VARCHAR(255) DEFAULT NULL, ADD category VARCHAR(255) DEFAULT NULL, ADD numero_seguridad_social VARCHAR(511) DEFAULT NULL, ADD dni VARCHAR(255) DEFAULT NULL, ADD tipo_dni VARCHAR(255) DEFAULT NULL, ADD language VARCHAR(255) DEFAULT NULL, ADD apodo VARCHAR(511) DEFAULT NULL, ADD interal_number VARCHAR(511) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE user DROP notas_gerencia, DROP descripcion_personal, DROP web_personal, DROP email_personal, DROP rpv, DROP telefono_personal, DROP telefono_personal2, DROP phone_externa�l, DROP postal_code, DROP address, DROP nationality, DROP born_place, DROP born_date, DROP sexenios, DROP is_acred_contratado_doctor, DROP academic_grade, DROP category, DROP numero_seguridad_social, DROP dni, DROP tipo_dni, DROP language, DROP apodo, DROP interal_number');
}
}