Browse Source

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

semen 3 tháng trước cách đây
mục cha
commit
2e24b9236f
2 tập tin đã thay đổi với 0 bổ sung5 xóa
  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>();
 }