<?php

namespace Application\Migrations;

use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;

/**
 * Auto-generated Migration: Please modify to your needs!
 */
class Version20170322135321 extends AbstractMigration
{
    /**
     * @param Schema $schema
     */
    public function up(Schema $schema)
    {
        // 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 address DROP extra_data');
        $this->addSql('ALTER TABLE store CHANGE private_product private_product_creation TINYINT(1) DEFAULT NULL');
        $this->addSql('ALTER TABLE shipping_range CHANGE country_id country_id INT NOT NULL');
    }

    /**
     * @param Schema $schema
     */
    public function down(Schema $schema)
    {
        // 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\'.');

        $this->addSql('ALTER TABLE address ADD extra_data LONGTEXT DEFAULT NULL COLLATE utf8_unicode_ci COMMENT \'(DC2Type:json_array)\'');
        $this->addSql('ALTER TABLE shipping_range CHANGE country_id country_id INT DEFAULT NULL');
        $this->addSql('ALTER TABLE store CHANGE private_product_creation private_product TINYINT(1) DEFAULT NULL');
    }
}

<?php

namespace Application\Migrations;

use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;

/**
 * Auto-generated Migration: Please modify to your needs!
 */
class Version20170322135321 extends AbstractMigration
{
    /**
     * @param Schema $schema
     */
    public function up(Schema $schema)
    {
        // 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 store CHANGE private_product private_product_creation TINYINT(1) DEFAULT NULL');
        $this->addSql('ALTER TABLE shipping_range CHANGE country_id country_id INT NOT NULL');
    }

    /**
     * @param Schema $schema
     */
    public function down(Schema $schema)
    {
        // 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\'.');

        $this->addSql('ALTER TABLE shipping_range CHANGE country_id country_id INT DEFAULT NULL');
        $this->addSql('ALTER TABLE store CHANGE private_product_creation private_product TINYINT(1) DEFAULT NULL');
    }
}

Remove possibly unwanted migration statement
Remove possibly unwanted migration statement

I found a migration which removed the `extra_data` field from the `address` table. But the `Address` entity still uses `ExtraDataTrait` so it needs that field, and loading the fixtures fails. Assuming the change is unwanted, this PR removes it. 
If you don't want to modify an old migration, we may also create a new one.