- 6 new domain repository interfaces (StoragePath, ArticlePhoto, AttributeValue, ChannelField, ArticleTypePlatformConfig, AttributeMapping) - 6 Doctrine repository implementations - StorageManager with multi-path quota-aware file storage (LocalStorageManager) - Application services: ArticleTypeService, ArticleService, ArticleValidator, PhotoService, PlatformService, MappingService - REST controllers: ArticleType, Article, Photo, Platform, Mapping (all under /api prefix) - inventory_number sequence migration - 22 unit tests passing, PHPStan level 9 clean, CS Fixer clean - Fixed phpdoc_to_comment CS Fixer rule (disabled) to preserve @var type annotations - Fixed PHPStan: User::getUserIdentifier non-empty-string, AIPipelineJob nullable missingFields Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
590 B
PHP
26 lines
590 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace DoctrineMigrations;
|
|
|
|
use Doctrine\DBAL\Schema\Schema;
|
|
use Doctrine\Migrations\AbstractMigration;
|
|
|
|
final class Version20260514050204 extends AbstractMigration
|
|
{
|
|
public function getDescription(): string
|
|
{
|
|
return 'Add inventory_number sequence';
|
|
}
|
|
|
|
public function up(Schema $schema): void
|
|
{
|
|
$this->addSql('CREATE SEQUENCE IF NOT EXISTS app.inventory_seq START 1 INCREMENT 1');
|
|
}
|
|
|
|
public function down(Schema $schema): void
|
|
{
|
|
$this->addSql('DROP SEQUENCE IF EXISTS app.inventory_seq');
|
|
}
|
|
}
|