<?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 Version20230515140547 extends AbstractMigration
{
public function getDescription(): string
{
return 'Field for specifying the user responsible for processing activity (can be sponsor, manager, or even admin)';
}
public function up(Schema $schema): void
{
$this->addSql("ALTER TABLE `activity` ADD COLUMN `curator_user_id` bigint NULL AFTER `creator_id`");
}
public function down(Schema $schema): void
{
$this->addSql("ALTER TABLE `activity` DROP COLUMN `curator_user_id`");
}
}