[ERP-43] Migrer les tables Category et CategoryType #14
Reference in New Issue
Block a user
Delete Branch "feature/ERP-43-migrer-tables-category"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ticket
Contenu
Migration Doctrine
migrations/Version20260527164000.php(namespace racineDoctrineMigrations, règle ABSOLUE Starseed n°11) :category_type:id INT IDENTITY,code VARCHAR(40)(UNIQUE),label VARCHAR(120)category:id,name,category_type_id(FK RESTRICT),deleted_at(soft delete), + 4 colonnes Timestampable/Blamable (created_at/updated_atNOT NULL,created_by/updated_bynullable FK"user"ON DELETE SET NULL)uq_category_name_type_activesur(LOWER(name), category_type_id) WHERE deleted_at IS NULL→ matérialise RG-1.07idx_category_deleted_at,idx_category_type_id,idx_category_created_by,idx_category_updated_byTests
make php-cs-fixer-allow-risky✓make db-reset✓ (migration exécutée sans erreur)make test✓ — 248 tests / 858 assertions, 0 échec\d category✓ (index partiel + 8 colonnes + 3 FK avec les bons ON DELETE)⚠ Mode stacked PR
Cette MR cible
feature/ERP-52-creer-pattern-timestampable-blamable-sharedau lieu dedevelop. Quand la MR #13 (ERP-52) sera mergée sur develop, Matthieu repointera la cible de cette MR vers develop.Reviewer suggéré : Tristan
4152532a09to19752c2348