migrations/Version20260619130000.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace DoctrineMigrations;
  4. use Doctrine\DBAL\Schema\Schema;
  5. use Doctrine\Migrations\AbstractMigration;
  6. final class Version20260619130000 extends AbstractMigration
  7. {
  8.     public function getDescription(): string
  9.     {
  10.         return 'Add tik_tok_auth.reconnect_email_sent_at — suppression marker for the one-off '
  11.             'app:tiktok:reconnect-email campaign so a flagged account is emailed at most once.';
  12.     }
  13.     public function up(Schema $schema): void
  14.     {
  15.         $this->addSql('ALTER TABLE tik_tok_auth ADD reconnect_email_sent_at DATETIME DEFAULT NULL');
  16.     }
  17.     public function down(Schema $schema): void
  18.     {
  19.         $this->addSql('ALTER TABLE tik_tok_auth DROP reconnect_email_sent_at');
  20.     }
  21. }