<?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 Version20240131115328 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 `tal_invoice_details` (
`id` INT NOT NULL AUTO_INCREMENT,
`student_name` VARCHAR(50) NOT NULL,
`jse_id` VARCHAR(45) NOT NULL,
`course_number` VARCHAR(45) NULL,
`is_online` TINYINT NULL,
`breakdown` VARCHAR(45) NULL,
`amount` FLOAT NULL,
`billing_date` DATE NULL,
`invoice_number` VARCHAR(45) NULL,
`student_id` INT NULL,
`registration_id` INT NULL,
`create_date_time` 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 `tal_invoice_details`");
}
}