<?php
declare(strict_types=1);
namespace Boldr\Cms\UsersBundle\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Boldr\Cms\CmsBundle\BoldrCmsMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version0_Install extends BoldrCmsMigration
{
public function getVersion(): ?string { return null; }
public function getBundle(): string { return 'boldr/users-bundle'; }
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 users_user (id INT UNSIGNED AUTO_INCREMENT NOT NULL, username VARCHAR(255) NOT NULL, email_address VARCHAR(255) NOT NULL, password_hash VARCHAR(255) NOT NULL, email_address_is_confirmed TINYINT(1) DEFAULT \'0\' NOT NULL, confirm_email_address_token VARCHAR(255) DEFAULT NULL, forgot_password_token VARCHAR(255) DEFAULT NULL, time_forgot_password_token_expires DATETIME DEFAULT NULL COMMENT \'(DC2Type:datetime_immutable)\', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
}
}