<?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 Version20230803161137 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 project_report ADD hour_price DOUBLE PRECISION DEFAULT NULL');
$this->addSql('ALTER TABLE project_report ADD hour_price_plan DOUBLE PRECISION DEFAULT NULL');
$this->addSql('ALTER TABLE project_report ADD sum_hours_plan DOUBLE PRECISION DEFAULT NULL');
$this->addSql('ALTER TABLE project_report ADD sum_hours_customer_plan DOUBLE PRECISION DEFAULT NULL');
$this->addSql('ALTER TABLE project_report ADD sum_cost_plan DOUBLE PRECISION DEFAULT NULL');
$this->addSql('ALTER TABLE project_report ADD sum_cost_customer_plan DOUBLE PRECISION DEFAULT NULL');
$this->addSql('ALTER TABLE project_report ADD hours_customer_cost_project_plan DOUBLE PRECISION DEFAULT NULL');
$this->addSql('ALTER TABLE project_report ADD excess_profit_project_report_plan DOUBLE PRECISION DEFAULT NULL');
$this->addSql('ALTER TABLE project_report ADD premium_project_report_plan DOUBLE PRECISION DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('ALTER TABLE project_report DROP hour_price');
$this->addSql('ALTER TABLE project_report DROP hour_price_plan');
$this->addSql('ALTER TABLE project_report DROP sum_hours_plan');
$this->addSql('ALTER TABLE project_report DROP sum_hours_customer_plan');
$this->addSql('ALTER TABLE project_report DROP sum_cost_plan');
$this->addSql('ALTER TABLE project_report DROP sum_cost_customer_plan');
$this->addSql('ALTER TABLE project_report DROP hours_customer_cost_project_plan');
$this->addSql('ALTER TABLE project_report DROP excess_profit_project_report_plan');
$this->addSql('ALTER TABLE project_report DROP premium_project_report_plan');
}
}