<?php

namespace Application\Migrations;

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

/**
 * Auto-generated Migration: Please modify to your needs!
 */
class Version20170220233438 extends AbstractMigration
{
    /**
     * @param Schema $schema
     */
    public function up(Schema $schema)
    {
        $this->addSql("UPDATE menu SET class = 'tangerine' WHERE class = 'red'");
        $this->addSql("UPDATE menu SET class = 'la-rioja' WHERE class = 'green'");
        $this->addSql("UPDATE menu SET class = 'pelorus' WHERE class = 'yellow'");
    }

    /**
     * @param Schema $schema
     */
    public function down(Schema $schema)
    {
        // this down() migration is auto-generated, please modify it to your needs

    }
}
