bug fixers 10/20
This commit is contained in:
@@ -32,6 +32,10 @@ public sealed class ProductConfigConfiguration : IEntityTypeConfiguration<Produc
|
||||
builder.Property(c => c.CustomVariantsEnabled).IsRequired().HasDefaultValue(false);
|
||||
builder.Property(c => c.ItemImagesEnabled).IsRequired().HasDefaultValue(false);
|
||||
builder.Property(c => c.CustomWarrantyPeriodsEnabled).IsRequired().HasDefaultValue(false);
|
||||
builder.Property(c => c.StockNatureEnabled).IsRequired().HasDefaultValue(true);
|
||||
builder.Property(c => c.TrackingModeEnabled).IsRequired().HasDefaultValue(true);
|
||||
builder.Property(c => c.LowStockAlertsEnabled).IsRequired().HasDefaultValue(true);
|
||||
builder.Property(c => c.AlertWarehouseEnabled).IsRequired().HasDefaultValue(true);
|
||||
|
||||
// PostgreSQL xmin system column as the optimistic concurrency token (ETag).
|
||||
builder.Property(c => c.RowVersion).IsRowVersion();
|
||||
|
||||
@@ -213,7 +213,11 @@ public static class DataSeeder
|
||||
WarrantyPeriodsEnabled = true,
|
||||
CustomVariantsEnabled = false,
|
||||
ItemImagesEnabled = false,
|
||||
CustomWarrantyPeriodsEnabled = false
|
||||
CustomWarrantyPeriodsEnabled = false,
|
||||
StockNatureEnabled = true,
|
||||
TrackingModeEnabled = true,
|
||||
LowStockAlertsEnabled = true,
|
||||
AlertWarehouseEnabled = true
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user