<?php
declare(strict_types=1);
namespace Application\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20201113161809 extends AbstractMigration
{
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('INSERT INTO contract_signatory VALUES (NULL, :for, :since, :name, :title, NOW(), NOW())', [
'for' => 'schedule-4',
'since' => '2019-01-01',
'name' => 'Robin Nelson',
'title' => 'Science Director',
]);
$this->addSql('INSERT INTO contract_signatory VALUES (NULL, :for, :since, :name, :title, NOW(), NOW())', [
'for' => 'schedule-4',
'since' => '2019-06-06',
'name' => 'Jean-Marc Sohier',
'title' => 'Science Director',
]);
$this->addSql('INSERT INTO contract_signatory VALUES (NULL, :for, :since, :name, :title, NOW(), NOW())', [
'for' => 'schedule-4',
'since' => '2020-06-11',
'name' => 'Jean-Marc Sohier',
'title' => 'Concawe Director',
]);
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DELETE FROM contract_signatory WHERE `for` = :schedule4', [
'schedule4' => 'schedule-4',
]);
}
}