From 6f3c9a5face3a7bb909afa1f9e0bda9f875e61cf Mon Sep 17 00:00:00 2001 From: carteronm Date: Thu, 16 Oct 2025 16:25:07 +0200 Subject: [PATCH] Modif --- PyroFetes/Migrations/PyroFetesDbContextModelSnapshot.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/PyroFetes/Migrations/PyroFetesDbContextModelSnapshot.cs b/PyroFetes/Migrations/PyroFetesDbContextModelSnapshot.cs index 1f414fb..27be969 100644 --- a/PyroFetes/Migrations/PyroFetesDbContextModelSnapshot.cs +++ b/PyroFetes/Migrations/PyroFetesDbContextModelSnapshot.cs @@ -541,11 +541,10 @@ namespace PyroFetes.Migrations b.Property("ProductCategoryId") .HasColumnType("int"); - b.Property("References") - .HasColumnType("int"); - - b.Property("SellingPrice") - .HasColumnType("decimal(18,2)"); + b.Property("Reference") + .IsRequired() + .HasMaxLength(20) + .HasColumnType("nvarchar(20)"); b.Property("Weight") .HasColumnType("decimal(18,2)");