<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20220527090212 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 setting RENAME INDEX uniq_9f74b8988a90aba9 TO UNIQ_9F74B8984E645A7E');
$this->addSql('ALTER TABLE user ADD reset_password_token VARCHAR(255) DEFAULT NULL, ADD reset_password_token_requested_at DATETIME DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE setting RENAME INDEX uniq_9f74b8984e645a7e TO UNIQ_9F74B8988A90ABA9');
$this->addSql('ALTER TABLE user DROP reset_password_token, DROP reset_password_token_requested_at');
}
}