<?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 Version20240104081237 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 woodmont_student_status (
id INT AUTO_INCREMENT NOT NULL,
student_id INT NOT NULL,
type VARCHAR(50) NOT NULL,
name VARCHAR(50) NOT NULL,
status VARCHAR(50) NOT NULL,
status_date DATE DEFAULT NULL,
institution1 VARCHAR(100) DEFAULT NULL,
transcript1 TINYINT(1) DEFAULT NULL,
official1 TINYINT(1) DEFAULT NULL,
institution2 VARCHAR(100) DEFAULT NULL,
transcript2 TINYINT(1) DEFAULT NULL,
official2 TINYINT(1) DEFAULT NULL,
institution3 VARCHAR(100) DEFAULT NULL,
transcript3 TINYINT(1) DEFAULT NULL,
official3 TINYINT(1) DEFAULT NULL,
unofficial_hs_transcript TINYINT(1) DEFAULT NULL,
official_hs_transcript TINYINT(1) DEFAULT NULL,
photo_id TINYINT(1) DEFAULT NULL,
personal_statement TINYINT(1) DEFAULT NULL,
deans_letter TINYINT(1) DEFAULT NULL,
credits_earned_td DOUBLE PRECISION NOT NULL,
transfer_credits DOUBLE PRECISION NOT NULL,
payment_complete TINYINT(1) DEFAULT NULL,
preliminary_review TINYINT(1) DEFAULT NULL,
total_payments DOUBLE PRECISION DEFAULT NULL,
enrolled_status_date DATE DEFAULT NULL,
tti_received_credit_package DATE DEFAULT NULL,
payment_complete_date DATE DEFAULT NULL,
woodmont_invoice_number INT DEFAULT NULL,
woodmont_invoice_sent DATE DEFAULT NULL,
woodmont_invoice_paid DATE DEFAULT NULL,
tti_recorded_graduation TINYINT(1) DEFAULT NULL,
woodmont_promotion_may2023 TINYINT(1) DEFAULT NULL,
credit_package_type VARCHAR(15) DEFAULT NULL,
academic_policy_year INT DEFAULT NULL,
PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
}
public function down(Schema $schema): void
{
$this->addSql('DROP TABLE woodmont_student_status');
}
}