<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20241004120000 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add auto bid limit to preview tenders';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE dtb_preview_tender ADD auto_bid_limit INT UNSIGNED DEFAULT NULL AFTER tender_price');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE dtb_preview_tender DROP COLUMN auto_bid_limit');
}
}