Files
e-cosplay/migrations/Version20251225104342.php
Serreau Jovann 51d9d87784 ```
 feat(Service/Pdf): Crée le service PDF pour les fiches de candidature

📝 feat(Controller/Join): Génère et envoie la fiche candidat PDF
```
2025-12-25 11:48:42 +01:00

44 lines
1.7 KiB
PHP

<?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 Version20251225104342 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 "join" ADD fiche_file_name VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE "join" ADD fiche_dimensions JSON DEFAULT NULL');
$this->addSql('ALTER TABLE "join" ADD fiche_size VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE "join" ADD fiche_mine_type VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE "join" ADD fiche_original_name VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE "join" ADD update_at TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL');
$this->addSql('COMMENT ON COLUMN "join".update_at IS \'(DC2Type:datetime_immutable)\'');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('ALTER TABLE "join" DROP fiche_file_name');
$this->addSql('ALTER TABLE "join" DROP fiche_dimensions');
$this->addSql('ALTER TABLE "join" DROP fiche_size');
$this->addSql('ALTER TABLE "join" DROP fiche_mine_type');
$this->addSql('ALTER TABLE "join" DROP fiche_original_name');
$this->addSql('ALTER TABLE "join" DROP update_at');
}
}