Console commands: CreateUser (interactive), BackupCommand, RotateLogsCommand. Migrations 20260514: initial schema for app/logs schemas. Config: register new bundles, Doctrine schema filter, Kernel micro-kernel adjustments, deleted unused api.yaml route file and www.conf override. Application service and API controller updates for the full article lifecycle. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
31 lines
922 B
PHP
31 lines
922 B
PHP
<?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 Version20260514054903 extends AbstractMigration
|
|
{
|
|
public function getDescription(): string
|
|
{
|
|
return '';
|
|
}
|
|
|
|
public function up(Schema $schema): void
|
|
{
|
|
$this->addSql('ALTER TABLE app.ai_pipeline_jobs DROP CONSTRAINT IF EXISTS fk_4a59a35d7294869c');
|
|
$this->addSql('DROP INDEX IF EXISTS app.idx_4a59a35d7294869c');
|
|
}
|
|
|
|
public function down(Schema $schema): void
|
|
{
|
|
$this->addSql('ALTER TABLE app.ai_pipeline_jobs ADD CONSTRAINT fk_4a59a35d7294869c FOREIGN KEY (article_id) REFERENCES app.articles (id) NOT DEFERRABLE INITIALLY IMMEDIATE');
|
|
$this->addSql('CREATE INDEX idx_4a59a35d7294869c ON app.ai_pipeline_jobs (article_id)');
|
|
}
|
|
}
|