Skip to content

Commit

Permalink
migration delete seminar email
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-stanek committed Oct 25, 2023
1 parent 5922922 commit c40e3fd
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions migrations/Version20231025195652.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

declare(strict_types=1);

namespace Migrations;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

final class Version20231025195652 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}

public function up(Schema $schema): void
{
$this->addSql('DELETE FROM `settings` WHERE `item`=\'seminar_email\'');
$this->addSql('DELETE FROM `settings` WHERE `item`=\'seminar_email_unverified\'');
$this->addSql('DELETE FROM `settings` WHERE `item`=\'seminar_email_verification_code\'');
}

public function down(Schema $schema): void
{
}
}

0 comments on commit c40e3fd

Please sign in to comment.