<?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 Version20220817222415 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 company_profile ADD views INT NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE company_profile DROP views, CHANGE name name VARCHAR(255) NOT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE website website VARCHAR(255) DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE overview overview LONGTEXT DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE about about LONGTEXT DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE sales sales VARCHAR(255) DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE example_job example_job VARCHAR(500) DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE job_website job_website VARCHAR(255) DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE quote_employee quote_employee LONGTEXT DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE name_employee name_employee VARCHAR(255) DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE job_employee job_employee VARCHAR(255) DEFAULT NULL COLLATE `utf8mb4_unicode_ci`');
}
}