<?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 Version20251113152540 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('CREATE TABLE carte_affectation (id INT AUTO_INCREMENT NOT NULL, fournisseur VARCHAR(255) DEFAULT NULL, ordre VARCHAR(255) DEFAULT NULL, numero_carte VARCHAR(255) DEFAULT NULL, societe VARCHAR(255) DEFAULT NULL, agence_principale VARCHAR(255) DEFAULT NULL, pole VARCHAR(255) DEFAULT NULL, conducteur_actuel VARCHAR(255) DEFAULT NULL, vehicule VARCHAR(255) DEFAULT NULL, debut_affectation DATETIME DEFAULT NULL, fin_affectation DATETIME DEFAULT NULL, conducteur_hist VARCHAR(255) DEFAULT NULL, agence_hist VARCHAR(255) DEFAULT NULL, action_hist VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DROP TABLE carte_affectation');
}
}