<?php declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20190322061039 extends AbstractMigration
{
public function up(Schema $schema) : void
{
// Modul deaktivieren
$this->addSql("UPDATE module SET status = 0 WHERE role = 'ROLE_MODULE_KB'");
// Kommentar Text noch anpassen
$this->addSql("UPDATE module SET comment = CONCAT('22. März 2019/bz:\nGemäss Hr. Waldvogel nicht mehr benötigt\n\n', comment) WHERE role = 'ROLE_MODULE_KB'");
}
public function down(Schema $schema) : void
{
// this down() migration is auto-generated, please modify it to your needs
}
}