<?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 Version20230712102859 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_billing_items` (
`id` INT NOT NULL AUTO_INCREMENT,
`create_date` DATETIME NOT NULL,
`vendor_id` INT NOT NULL,
`item_type` VARCHAR(1) NOT NULL,
`bill_to` VARCHAR(5) NOT NULL,
`amount` INT NOT NULL,
`student_id` INT NOT NULL,
`packagetype_id` INT NULL,
`registration_id` INT NULL,
`partial_flag` TINYINT NULL,
`per_credit_amount` INT NULL,
`num_credits` INT NULL,
`additional_amount` INT NULL,
`proctoring_amount` INT NULL,
`remove_date` DATETIME NULL,
PRIMARY KEY (`id`));");
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql("DROP TABLE `vendor_billing_items`");
}
}