mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
30 lines
697 B
PHP
30 lines
697 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Chill\Migrations\Person;
|
|
|
|
use Doctrine\DBAL\Schema\Schema;
|
|
use Doctrine\Migrations\AbstractMigration;
|
|
|
|
/**
|
|
* fix deprecated json array
|
|
*/
|
|
final class Version20210419112619 extends AbstractMigration
|
|
{
|
|
public function getDescription() : string
|
|
{
|
|
return 'fix deprecated json_array';
|
|
}
|
|
|
|
public function up(Schema $schema) : void
|
|
{
|
|
$this->addSql('COMMENT ON COLUMN chill_person_accompanying_period_closingmotive.name IS NULL');
|
|
}
|
|
|
|
public function down(Schema $schema) : void
|
|
{
|
|
$this->addSql('COMMENT ON COLUMN chill_person_accompanying_period_closingmotive.name IS \'(DC2Type:json_array)\'');
|
|
}
|
|
}
|