<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
class Version20150715083520 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.');
$this->addSql('ALTER TABLE user_hoard CHANGE comment comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE coin_condition CHANGE comment comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE image ADD comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE country CHANGE comment comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE discovery_method CHANGE comment comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE coin_reference CHANGE comment comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE user_country CHANGE comment comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE rating CHANGE comment comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE material CHANGE comment comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE hide_what CHANGE comment comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE object_reference CHANGE comment comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE find_spot_location_detail ADD comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE status CHANGE comment comment LONGTEXT DEFAULT NULL');
$this->addSql('ALTER TABLE hide_from CHANGE comment comment LONGTEXT DEFAULT NULL');
}
/**
* @param Schema $schema
*/
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.');
}
}