<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20220913083326 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$schema->getTable('member_application')->getColumn('last_name')->setNotnull(false);
$schema->getTable('member_application')->getColumn('first_name')->setNotnull(false);
$schema->getTable('member_application')->getColumn('social_security_number')->setNotnull(false);
}
public function down(Schema $schema): void
{
$schema->getTable('member_application')->getColumn('last_name')->setNotnull(true);
$schema->getTable('member_application')->getColumn('first_name')->setNotnull(true);
$schema->getTable('member_application')->getColumn('social_security_number')->setNotnull(true);
}
}