dmolinari
5c1675e59a
refactor(bd): V023+V024 ChargeableCharConfig por ProductType + SP ReactivateWithGuard (PRC-001)
BREAKING: schema refactor pre-merge. Backend+frontend do not compile yet;
subsequent commits in this PR restore compilation. Acceptable only because
feature/PRC-001 is not yet merged to main.
- V023: drop MedioId + FK_Medio, add ProductTypeId + FK_ProductType, rename
indexes, drop+create SPs InsertWithClose (now @ProductTypeId) and
GetActiveForProductType (renamed from GetActiveForMedio). NEW SP
ReactivateWithGuard (A+guard pattern for feature 3 of scope delta).
Drop CK_Price_Positive, add CK_Price_NonNegative (>= 0 for opt-in billing).
- V024: reseed global rows with PricePerUnit = 0.0000 (opt-in billing).
- V023_ROLLBACK + V024_ROLLBACK scripts.
- SqlTestFixture: EnsureV023SchemaAsync, EnsureV024SeedAsync, renamed seed
method signature (ProductTypeId=NULL + PricePerUnit=0), history table
TablesToIgnore preserved. HardeningTests seeds dbo.ProductType (not Medio).
- MigrationTests: updated SP existence + column + FK + price assertions.
- RepositoryIntegrationTests + HardeningTests: SQL-level assertions updated;
C# method/property renames deferred to Agent 2 (backend refactor).
2026-04-21 10:35:38 -03:00
..
2026-04-13 21:35:55 -03:00
2026-04-14 13:14:47 -03:00
2026-04-15 12:31:29 -03:00
2026-04-15 12:31:29 -03:00
2026-04-15 15:26:22 -03:00
2026-04-15 15:26:22 -03:00
2026-04-15 16:34:32 -03:00
2026-04-15 17:36:46 -03:00
2026-04-15 21:27:29 -03:00
2026-04-16 13:10:04 -03:00
2026-04-16 13:10:04 -03:00
2026-04-16 18:13:54 -03:00
2026-04-16 18:13:54 -03:00
2026-04-16 18:13:54 -03:00
2026-04-16 18:13:54 -03:00
2026-04-17 14:16:01 -03:00
2026-04-17 14:16:01 -03:00
2026-04-17 19:11:47 -03:00
2026-04-17 17:33:19 -03:00
2026-04-18 09:39:00 -03:00
2026-04-18 09:39:00 -03:00
2026-04-19 07:42:25 -03:00
2026-04-19 07:42:25 -03:00
2026-04-19 09:34:23 -03:00
2026-04-19 09:34:23 -03:00
2026-04-19 13:46:11 -03:00
2026-04-19 13:46:11 -03:00
2026-04-19 17:53:58 -03:00
2026-04-19 17:53:58 -03:00
2026-04-20 12:01:55 -03:00
2026-04-20 12:01:55 -03:00
2026-04-20 12:01:49 -03:00
2026-04-20 12:01:49 -03:00
2026-04-20 12:01:55 -03:00
2026-04-20 12:01:55 -03:00
2026-04-21 10:35:38 -03:00
2026-04-21 10:35:38 -03:00
2026-04-21 10:35:38 -03:00
2026-04-21 10:35:38 -03:00