<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20221018224221 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE film_project_member CHANGE name name VARCHAR(255) DEFAULT NULL, CHANGE role role VARCHAR(255) DEFAULT NULL, CHANGE address address VARCHAR(255) DEFAULT NULL, CHANGE state state VARCHAR(255) DEFAULT NULL, CHANGE postcode postcode VARCHAR(255) DEFAULT NULL, CHANGE organisation organisation VARCHAR(255) DEFAULT NULL, CHANGE telephone telephone VARCHAR(255) DEFAULT NULL, CHANGE email email VARCHAR(255) DEFAULT NULL, CHANGE gender gender VARCHAR(255) DEFAULT NULL, CHANGE is_lingual_diverse is_lingual_diverse TINYINT(1) DEFAULT NULL, CHANGE is_islander_origin is_islander_origin TINYINT(1) DEFAULT NULL');
$this->addSql('ALTER TABLE film_project_story_impact CHANGE synopsis synopsis LONGTEXT DEFAULT NULL, CHANGE logline logline LONGTEXT DEFAULT NULL, CHANGE issue_addressed issue_addressed LONGTEXT DEFAULT NULL, CHANGE creative_treatment creative_treatment LONGTEXT DEFAULT NULL, CHANGE primary_impact_area primary_impact_area VARCHAR(255) DEFAULT NULL, CHANGE secondary_impact_area secondary_impact_area LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', CHANGE impact_vision_statement impact_vision_statement LONGTEXT DEFAULT NULL, CHANGE outcomes outcomes LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', CHANGE relationship_access relationship_access LONGTEXT DEFAULT NULL, CHANGE who_benefit who_benefit LONGTEXT DEFAULT NULL, CHANGE confirmed_role confirmed_role LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', CHANGE call_to_action call_to_action LONGTEXT DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE film_project_member CHANGE name name VARCHAR(255) NOT NULL, CHANGE role role VARCHAR(255) NOT NULL, CHANGE address address VARCHAR(255) NOT NULL, CHANGE state state VARCHAR(255) NOT NULL, CHANGE postcode postcode VARCHAR(255) NOT NULL, CHANGE organisation organisation VARCHAR(255) NOT NULL, CHANGE telephone telephone VARCHAR(255) NOT NULL, CHANGE email email VARCHAR(255) NOT NULL, CHANGE gender gender VARCHAR(255) NOT NULL, CHANGE is_lingual_diverse is_lingual_diverse TINYINT(1) NOT NULL, CHANGE is_islander_origin is_islander_origin TINYINT(1) NOT NULL');
$this->addSql('ALTER TABLE film_project_story_impact CHANGE synopsis synopsis LONGTEXT NOT NULL, CHANGE logline logline LONGTEXT NOT NULL, CHANGE issue_addressed issue_addressed LONGTEXT NOT NULL, CHANGE creative_treatment creative_treatment LONGTEXT NOT NULL, CHANGE primary_impact_area primary_impact_area VARCHAR(255) NOT NULL, CHANGE secondary_impact_area secondary_impact_area LONGTEXT NOT NULL COMMENT \'(DC2Type:array)\', CHANGE impact_vision_statement impact_vision_statement LONGTEXT NOT NULL, CHANGE outcomes outcomes LONGTEXT NOT NULL COMMENT \'(DC2Type:array)\', CHANGE relationship_access relationship_access LONGTEXT NOT NULL, CHANGE who_benefit who_benefit LONGTEXT NOT NULL, CHANGE confirmed_role confirmed_role LONGTEXT NOT NULL COMMENT \'(DC2Type:array)\', CHANGE call_to_action call_to_action LONGTEXT NOT NULL');
}
}