migrations/Version20221024103515.php line 1
<?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 Version20221024103515 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$alter = <<<SQL
ALTER TABLE template DROP COLUMN api_key;
ALTER TABLE template ADD COLUMN `stop` TEXT;
ALTER TABLE template ADD COLUMN suffix TEXT;
ALTER TABLE company ADD COLUMN openai_api_key VARCHAR(100) DEFAULT NULL;
SQL;
$this->addSql($alter);
}
public function down(Schema $schema): void
{
}
}