<?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 Version20220119135027 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 offer ADD contact_civility VARCHAR(5) DEFAULT NULL, ADD contact_mail VARCHAR(191) NOT NULL, ADD contact_phone VARCHAR(20) DEFAULT NULL, ADD starting_type VARCHAR(10) NOT NULL, ADD startin_date DATE DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE offer DROP contact_civility, DROP contact_mail, DROP contact_phone, DROP starting_type, DROP startin_date');
}
}