Files
crm_ecosplay/migrations/Version20260401072355.php
Serreau Jovann 686de99909 init
2026-04-01 15:42:52 +02:00

34 lines
939 B
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 Version20260401072355 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 service ADD is_external BOOLEAN DEFAULT false NOT NULL');
$this->addSql('ALTER TABLE service ADD external_type VARCHAR(50) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE service DROP is_external');
$this->addSql('ALTER TABLE service DROP external_type');
}
}