migrations/Version20230116004027.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 Version20230116004027 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 market_item DROP token_id');
$this->addSql('ALTER TABLE sync_log DROP nft_new');
$this->addSql('ALTER TABLE theta_wallet ADD is_approved_for_all_market TINYINT(1) NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE market_item ADD token_id INT NOT NULL');
$this->addSql('ALTER TABLE sync_log ADD nft_new INT DEFAULT NULL');
$this->addSql('ALTER TABLE theta_wallet DROP is_approved_for_all_market');
}
}