<?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 Version20230813173445 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 kc_user CHANGE totp totp TINYINT(1) DEFAULT NULL, CHANGE email_verified email_verified TINYINT(1) DEFAULT NULL, CHANGE not_before not_before BIGINT DEFAULT NULL, CHANGE user_access user_access LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', CHANGE kc_id kc_id VARCHAR(127) DEFAULT NULL, CHANGE created_timestamp created_timestamp BIGINT DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE kc_user CHANGE totp totp TINYINT(1) NOT NULL, CHANGE email_verified email_verified TINYINT(1) NOT NULL, CHANGE not_before not_before BIGINT NOT NULL, CHANGE user_access user_access LONGTEXT NOT NULL COMMENT \'(DC2Type:array)\', CHANGE kc_id kc_id VARCHAR(127) NOT NULL, CHANGE created_timestamp created_timestamp BIGINT NOT NULL');
}
}