Explorar o código

Изменение таблицы Пользователи

semen hai 5 meses
pai
achega
2e24b9236f
Modificáronse 2 ficheiros con 0 adicións e 5 borrados
  1. 0 3
      FoodLogProject/GaruaevContext.cs
  2. 0 2
      FoodLogProject/Models/Customer.cs

+ 0 - 3
FoodLogProject/GaruaevContext.cs

@@ -51,9 +51,6 @@ public partial class GaruaevContext : DbContext
                 .HasMaxLength(20)
                 .HasColumnName("customer_adress");
             entity.Property(e => e.CustomerBirthdate).HasColumnName("customer_birthdate");
-            entity.Property(e => e.CustomerFoodInformation)
-                .HasMaxLength(10000)
-                .HasColumnName("customer_food_information");
             entity.Property(e => e.CustomerGender).HasColumnName("customer_gender");
             entity.Property(e => e.CustomerHeight).HasColumnName("customer_height");
             entity.Property(e => e.CustomerNickname)

+ 0 - 2
FoodLogProject/Models/Customer.cs

@@ -23,7 +23,5 @@ public partial class Customer
 
     public string CustomerPassword { get; set; } = null!;
 
-    public string CustomerFoodInformation { get; set; } = null!;
-
     public virtual ICollection<Order> Orders { get; set; } = new List<Order>();
 }