<?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 Version20211006104839 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql("INSERT INTO setting (name, data,created_at) VALUES (\"BITRIX_CLIENT_DATA\", '{\"id\":\"local.615d74cb733428.21048089\",\"secret\":\"u4M0R1hRQ7N664vGGjTGOWtzFKczbUg3MiknFZst71ceLqWGtc\"}', now())");
// $this->addSql("INSERT INTO setting (name, data, created_at) VALUES (\"BITRIX_CLIENT_SECRET\", '{\"secret\":\"u4M0R1hRQ7N664vGGjTGOWtzFKczbUg3MiknFZst71ceLqWGtc\"}', now())");
// this up() migration is auto-generated, please modify it to your needs
}
public function down(Schema $schema): void
{
$this->addSql("DELETE FROM setting WHERE name IN ('BITRIX_CLIENT_DATA', 'BITRIX_CLIENT_SECRET')");
// this down() migration is auto-generated, please modify it to your needs
}
}