[accompanyingPeriodWorkEvaluation] store comment in db

This commit is contained in:
2021-08-02 22:43:09 +02:00
committed by Marc Ducobu
parent 5635d19252
commit 320f16a121
3 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
declare(strict_types=1);
namespace Chill\Migrations\Person;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Add comment to accompanying period work evaluation d
*/
final class Version20210802202838 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add comment to accompanying period work evaluation';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE chill_person_accompanying_period_work_evaluation ADD comment TEXT DEFAULT \'\' NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE chill_person_accompanying_period_work_evaluation DROP comment');
}
}