From ee36d86b5a577d171404b7ec76c5df9722fd4239 Mon Sep 17 00:00:00 2001 From: dmolinari Date: Tue, 21 Apr 2026 13:04:54 -0300 Subject: [PATCH] docs(bd): V018..V024 entries in database/README.md (PRC-001 archive) Archive follow-up: updates the migrations table in database/README.md with V018 (PRD-002), V019 (PRD-003), and V020..V024 (PRC-001 + scope delta). The table was stale since V017 (PRD-001). This entry keeps the onboarding doc aligned with the actual migration chain applied on all three DBs. --- database/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/database/README.md b/database/README.md index 98c7b02..a8f0932 100644 --- a/database/README.md +++ b/database/README.md @@ -34,6 +34,13 @@ database/ | V015 | `V015__create_local_timezone_views.sql` | UDT-011 | Vistas admin con OccurredAt convertido a hora Argentina | | **V016** | **`V016__create_rubro.sql`** | **CAT-001** | **Rubro (adjacency list, temporal 10y) + permiso `catalogo:rubros:gestionar`** | | **V017** | **`V017__create_product_type.sql`** | **PRD-001** | **ProductType (flags + multimedia limits, temporal 10y) + permiso `catalogo:tipos:gestionar`** | +| V018 | `V018__create_product.sql` | PRD-002 | Product (temporal 10y) + permiso `catalogo:productos:gestionar` + índices | +| V019 | `V019__create_product_prices.sql` | PRD-003 | ProductPrices (temporal 10y, forward-only) + SP `sp_ProductPrices_InsertWithClose` + permiso implícito | +| V020 | `V020__add_chargeable_chars_permission.sql` | PRC-001 | Permiso `tasacion:caracteres_especiales:gestionar` + asignación a admin | +| V021 | `V021__create_chargeable_char_config.sql` | PRC-001 | ChargeableCharConfig + ChargeableCharConfig_History (temporal 10y) + 2 SPs (`InsertWithClose`, `GetActiveForProductType`) + 2 índices | +| V022 | `V022__seed_chargeable_char_config.sql` | PRC-001 | Seed 4 filas globales (`$`, `%`, `!`, `¡`) con PricePerUnit=1.0000 | +| V023 | `V023__refactor_chargeable_char_config_to_product_type.sql` | PRC-001 (scope delta) | Refactor MedioId→ProductTypeId + nuevo SP `ReactivateWithGuard` + CK_Price_NonNegative (>= 0) | +| V024 | `V024__reseed_global_with_zero_price.sql` | PRC-001 (scope delta) | Reseed 4 globales a PricePerUnit=0.0000 (opt-in billing) | ## Convenciones