<?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 Version20241117115357 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 `pck_packagetypes` CHANGE COLUMN `is_woodmont_tal_free` `is_woodmont_tal` TINYINT NULL DEFAULT NULL ;");
$this->addSql("UPDATE `pck_packagetypes` SET `display_name` = 'Woodmont sem replacement (39)', `is_woodmont_tal` = '1' WHERE (`id` = '51');)");
$this->addSql("INSERT INTO `pck_packagetypes` (`display_name`, `number_of_credits`, `purchase_price`, `internal_comment`, `to_display`, `admin_allow`, `is_special_program`, `proctor_fee_price`, `no_additional_fees`, `vendors_allowed`, `exams_allowed`, `is_woodmont_tal`, `is_single_credits`, `order_by`) VALUES ('Woodmont (39)', '39', '1650', 'TAL package of 39 credits for Woodmont students', '1', '0', '1', '0.00', '1', '1,4', '314', '1', '0', '1');");
$this->addSql("INSERT INTO `pck_packagetypes` (`display_name`, `number_of_credits`, `purchase_price`, `internal_comment`, `to_display`, `is_special_program`, `proctor_fee_price`, `no_additional_fees`, `vendors_allowed`, `exams_allowed`, `is_woodmont_tal`, `order_by`) VALUES ('24 credits', '24', '1050','TAL package of 24 credits for Woodmont students', '1', '1', '0.00', '1', '1,4', '314', '1', '2');");
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql("ALTER TABLE `pck_packagetypes` CHANGE COLUMN `is_woodmont_tal` `is_woodmont_tal_free` TINYINT NULL DEFAULT NULL ;");
$this->addSql("UPDATE `pck_packagetypes` SET `display_name` = ' Woodmont (39)' WHERE (`id` = '51');)");
}
}