fix(db): increase taille and numero length in dotation to 50
AS Talange CI/CD Pipeline - Production / Build & Run Unit Tests (push) Successful in 1m49s
AS Talange CI/CD Pipeline - Production / Deploy to Prod Environment (push) Successful in 3m0s

This commit is contained in:
2026-07-01 15:00:50 +02:00
parent 6ca3d0b765
commit 4870d61f86
2 changed files with 4 additions and 2 deletions
@@ -18,7 +18,7 @@ public class Dotation {
@JoinColumn(name = "equipement_id", nullable = false)
private Equipement equipement;
@Column(length = 10)
@Column(length = 50)
private String taille;
@Column(length = 50)
@@ -30,7 +30,7 @@ public class Dotation {
@Column(nullable = false)
private Boolean fourni = false;
@Column(length = 10)
@Column(length = 50)
private String numero;
@Column(nullable = false)
@@ -0,0 +1,2 @@
ALTER TABLE dotation ALTER COLUMN taille TYPE VARCHAR(50);
ALTER TABLE dotation ALTER COLUMN numero TYPE VARCHAR(50);