<?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 Version20220421092928 extends AbstractMigration
{
private $title = 'Добавлен id в order';
private $message = 'Добавлено поле id в orders';
public function getDescription(): string
{
return 'Changelog migration';
}
public function up(Schema $schema): void
{
$this->addSql('INSERT INTO "changelog" ("title", "description", "created_at") VALUES(\'' . $this->title . '\', \'' . $this->message . '\', NOW())');
}
}