<?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 Version20210618150234 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 record ADD num INT NOT NULL, ADD assigned_at DATETIME DEFAULT NULL, ADD voice LONGTEXT DEFAULT NULL, ADD uploaded_at DATETIME DEFAULT NULL, ADD voice_status VARCHAR(50) NOT NULL, ADD payment_status VARCHAR(50) NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE record DROP num, DROP assigned_at, DROP voice, DROP uploaded_at, DROP voice_status, DROP payment_status');
}
}