<?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 Version20230205175913 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 log_entry ADD created_by_id INT DEFAULT NULL, ADD updated_by_id INT DEFAULT NULL, ADD deleted_by_id INT DEFAULT NULL, ADD created_at DATETIME NOT NULL, ADD updated_at DATETIME NOT NULL, ADD deleted_at DATETIME DEFAULT NULL, ADD object_id INT NOT NULL, ADD identifier VARCHAR(36) NOT NULL');
// $this->addSql('ALTER TABLE log_entry ADD CONSTRAINT FK_B5F762DB03A8386 FOREIGN KEY (created_by_id) REFERENCES fos_user__user (id)');
// $this->addSql('ALTER TABLE log_entry ADD CONSTRAINT FK_B5F762D896DBBDE FOREIGN KEY (updated_by_id) REFERENCES fos_user__user (id)');
// $this->addSql('ALTER TABLE log_entry ADD CONSTRAINT FK_B5F762DC76F1F52 FOREIGN KEY (deleted_by_id) REFERENCES fos_user__user (id)');
// $this->addSql('CREATE UNIQUE INDEX UNIQ_B5F762D772E836A ON log_entry (identifier)');
// $this->addSql('CREATE INDEX IDX_B5F762DB03A8386 ON log_entry (created_by_id)');
// $this->addSql('CREATE INDEX IDX_B5F762D896DBBDE ON log_entry (updated_by_id)');
// $this->addSql('CREATE INDEX IDX_B5F762DC76F1F52 ON log_entry (deleted_by_id)');
}
public function down(Schema $schema): void
{
}
}