<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20211221150125 extends AbstractMigration
{
public function getDescription(): string
{
return 'SearchMatch Additional information';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE search_match ADD owner_name VARCHAR(255) NOT NULL, ADD sitter_name VARCHAR(255) NOT NULL, ADD first_cat_name VARCHAR(255) NOT NULL, ADD price_day INT NOT NULL, ADD price_total INT NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE search_match DROP owner_name, DROP sitter_name, DROP first_cat_name, DROP price_day, DROP price_total');
}
public function isTransactional(): bool
{
return false;
}
}