src/Migrations/Version20210811135353.php line 1
<?phpdeclare(strict_types=1);namespace DoctrineMigrations;use Doctrine\DBAL\Schema\Schema;use Doctrine\Migrations\AbstractMigration;/*** Auto-generated Migration: Please modify to your needs!*/final class Version20210811135353 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('CREATE TABLE confirmations (uuid VARCHAR(36) NOT NULL, object_uuid VARCHAR(36) NOT NULL, type VARCHAR(255) NOT NULL, value VARCHAR(255) NOT NULL, code VARCHAR(255) NOT NULL, ip VARCHAR(255) DEFAULT NULL, sent_at DATETIME NOT NULL, confirmed TINYINT(1) NOT NULL, created_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL, updated_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL, PRIMARY KEY(uuid)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');$this->addSql('ALTER TABLE olymp_online_attendant ADD uuid VARCHAR(36) NOT NULL');}public function down(Schema $schema): void{// this down() migration is auto-generated, please modify it to your needs$this->addSql('DROP TABLE confirmations');$this->addSql('ALTER TABLE olymp_online_attendant DROP uuid');}}