<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20250317122151 extends AbstractMigration
{
public function getDescription(): string
{
return 'Rename averageDeliveryCost attribute';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE shop_mode CHANGE average_delivery_cost order_fees INT DEFAULT 0 NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE shop_mode CHANGE order_fees average_delivery_cost INT DEFAULT 0 NOT NULL');
}
}