migrations/Version20221129144906.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 Version20221129144906 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 ADD created_at DATETIME DEFAULT NULL, ADD updated_at DATETIME DEFAULT NULL, DROP created, DROP last_updated');
$this->addSql('ALTER TABLE nft_metadata ADD created_at DATETIME DEFAULT NULL COMMENT \'(DC2Type:datetime_immutable)\', ADD creator VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE salvage_queue ADD ready_at DATETIME NOT NULL, ADD created_at DATETIME NOT NULL, DROP ready_time, DROP created_date');
}
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 created DATETIME DEFAULT NULL, ADD last_updated DATETIME DEFAULT NULL, DROP created_at, DROP updated_at');
$this->addSql('ALTER TABLE nft_metadata DROP created_at, DROP creator');
$this->addSql('ALTER TABLE salvage_queue ADD ready_time DATETIME NOT NULL, ADD created_date DATETIME NOT NULL, DROP ready_at, DROP created_at');
}
}