for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
final class Version20161017164559 extends AbstractMigration
{
/**
* @param Schema $schema
public function up(Schema $schema)
$this->addSql('ALTER TABLE sylius_shipping_method ADD position INT NOT NULL');
}
public function down(Schema $schema)
$this->addSql('ALTER TABLE sylius_shipping_method DROP position');