<?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 Version20251224091304 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("CREATE TABLE `vendor_approval_reasons` (
`id` INT NOT NULL AUTO_INCREMENT,
`description` VARCHAR(45) NOT NULL,
PRIMARY KEY (`id`));
");
$this->addSql("ALTER TABLE `registrations`
ADD COLUMN `vendor_approval_reason_id` INT NULL DEFAULT NULL AFTER `vendor_approved_retake_with_fee`;
");
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql("DROP TABLE vendor_approval_reasons;");
$this->addSql("ALTER TABLE `registrations` DROP COLUMN `vendor_approval_reason_id`;");
}
}