<?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 Version20240501210833 extends AbstractMigration
{
public function getDescription(): string
{
return 'Modify apikey column to conform jwt tokens length of wb';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE marketplace CHANGE api_key api_key TEXT NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE marketplace CHANGE api_key api_key VARCHAR(255) NOT NULL');
}
}