<?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 Version20230506210728 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 profils ADD nom_profil VARCHAR(255) DEFAULT NULL, ADD image_profil VARCHAR(255) DEFAULT NULL, ADD comptage VARCHAR(255) DEFAULT NULL, ADD text_court LONGTEXT DEFAULT NULL, ADD text_long LONGTEXT DEFAULT NULL, ADD created_at DATETIME DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE profils DROP nom_profil, DROP image_profil, DROP comptage, DROP text_court, DROP text_long, DROP created_at');
}
}