migrations/Version20190322061039.php line 1

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace DoctrineMigrations;
  3. use Doctrine\Migrations\AbstractMigration;
  4. use Doctrine\DBAL\Schema\Schema;
  5. /**
  6. * Auto-generated Migration: Please modify to your needs!
  7. */
  8. final class Version20190322061039 extends AbstractMigration
  9. {
  10. public function up(Schema $schema) : void
  11. {
  12. // Modul deaktivieren
  13. $this->addSql("UPDATE module SET status = 0 WHERE role = 'ROLE_MODULE_KB'");
  14. // Kommentar Text noch anpassen
  15. $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'");
  16. }
  17. public function down(Schema $schema) : void
  18. {
  19. // this down() migration is auto-generated, please modify it to your needs
  20. }
  21. }