adapt migrations files to flex

This commit is contained in:
2020-07-31 15:52:06 +02:00
parent d8aa11a5af
commit 5875c9f0f7
4 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Add an option column to customfieldsgroup
*/
class Version20150224164531 extends AbstractMigration
{
public function up(Schema $schema)
{
$this->addSql('ALTER TABLE customfieldsgroup ADD options JSON DEFAULT \'{}\'::json');
}
public function down(Schema $schema)
{
$this->addSql('ALTER TABLE CustomFieldsGroup DROP options');
}
}