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