<?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 Version20231112205535 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 interest_paidoff ADD order_product_interest DOUBLE PRECISION NOT NULL, ADD order_total_price DOUBLE PRECISION NOT NULL, ADD order_person_type VARCHAR(8) DEFAULT NULL, DROP new_business');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE interest_paidoff ADD new_business TINYINT(1) NOT NULL, DROP order_product_interest, DROP order_total_price, DROP order_person_type');
}
}