<?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 Version20220126151726 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 alexa_session (id SERIAL NOT NULL, skill_id VARCHAR(255) NOT NULL, device_id VARCHAR(255) NOT NULL, session_id VARCHAR(255) NOT NULL, user_id VARCHAR(255) DEFAULT NULL, var VARCHAR(32) NOT NULL, value JSON DEFAULT NULL, PRIMARY KEY(id))');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DROP TABLE alexa_session');
}
}