diff --git a/migrations/Version20250425063035.php b/migrations/Version20250425063035.php index edce393..4734b17 100644 --- a/migrations/Version20250425063035.php +++ b/migrations/Version20250425063035.php @@ -21,7 +21,7 @@ final class Version20250425063035 extends AbstractMigration { // this up() migration is auto-generated, please modify it to your needs $this->addSql(<<<'SQL' - CREATE TABLE core_log_entry (id INT AUTO_INCREMENT NOT NULL, channel VARCHAR(255) NOT NULL, message VARCHAR(255) NOT NULL, context JSON DEFAULT NULL COMMENT '(DC2Type:json)', extra JSON DEFAULT NULL COMMENT '(DC2Type:json)', created_at DATETIME NOT NULL COMMENT '(DC2Type:datetime_immutable)', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB + CREATE TABLE log_entry (id INT AUTO_INCREMENT NOT NULL, channel VARCHAR(255) NOT NULL, message VARCHAR(255) NOT NULL, context JSON DEFAULT NULL COMMENT '(DC2Type:json)', extra JSON DEFAULT NULL COMMENT '(DC2Type:json)', created_at DATETIME NOT NULL COMMENT '(DC2Type:datetime_immutable)', PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB SQL); } @@ -29,7 +29,7 @@ final class Version20250425063035 extends AbstractMigration { // this down() migration is auto-generated, please modify it to your needs $this->addSql(<<<'SQL' - DROP TABLE core_log_entry + DROP TABLE log_entry SQL); } } diff --git a/src/Entity/LogEntry.php b/src/Entity/LogEntry.php index 2b6d368..74f8037 100644 --- a/src/Entity/LogEntry.php +++ b/src/Entity/LogEntry.php @@ -4,7 +4,6 @@ namespace App\Entity; use Doctrine\ORM\Mapping as ORM; -#[ORM\Table(name: 'core_log_entry')] #[ORM\Entity] class LogEntry {