<?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 Version20251107132211 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add media_path_mobile column to std_advertisements table';
}
public function up(Schema $schema): void
{
$this->addSql(<<<'SQL'
ALTER TABLE `std_advertisements`
ADD COLUMN `media_path_mobile` VARCHAR(255) NULL AFTER `media_path`
SQL);
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE `std_advertisements` DROP COLUMN `media_path_mobile`');
}
}