<?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 Version20220127125750 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 integration__mapping_data_shoper_product ADD photo_path VARCHAR(500) DEFAULT NULL');
$this->addSql('ALTER TABLE integration__mapping_data_shoper_product ADD photo_url VARCHAR(1000) DEFAULT NULL');
$this->addSql('ALTER TABLE integration__mapping_data_shoper_product ADD photo_real_name VARCHAR(500) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('ALTER TABLE integration__mapping_data_shoper_product DROP photo_path');
$this->addSql('ALTER TABLE integration__mapping_data_shoper_product DROP photo_url');
$this->addSql('ALTER TABLE integration__mapping_data_shoper_product DROP photo_real_name');
}
}