Files
SIRH/migrations/Version20260313133548.php
tristan 0cc2b2730a
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled
feat : ajout des frais kms + alignment du style de l'application
2026-03-13 16:05:54 +01:00

27 lines
619 B
PHP

<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20260313133548 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add receipt_name column to mileage_allowances';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE mileage_allowances ADD receipt_name VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE mileage_allowances DROP receipt_name');
}
}