añadidos limites cuando lomo interior es menor que 10

This commit is contained in:
2025-12-12 18:27:24 +01:00
parent cf73801dbe
commit 4cc47b4249
9 changed files with 428 additions and 1349 deletions

View File

@ -0,0 +1,24 @@
databaseChangeLog:
- changeSet:
id: 0018-change-presupuesto-ch-3
author: jjo
preConditions:
- dbms:
type: mysql
changes:
- sql:
splitStatements: false
stripComments: true
sql: |
ALTER TABLE presupuesto
DROP CHECK presupuesto_chk_3;
rollback:
- sql:
splitStatements: false
stripComments: true
sql: |
ALTER TABLE presupuesto
ADD CONSTRAINT presupuesto_chk_3
CHECK (tipo_cubierta BETWEEN 0 AND 2);