Aggiunta migrazione e modello dati raw da deserializzare
This commit is contained in:
@@ -107,7 +107,7 @@ namespace EgwCoreLib.Lux.Data
|
||||
}
|
||||
if (!optionsBuilder.IsConfigured)
|
||||
{
|
||||
var serverVersion = ServerVersion.AutoDetect(connString);
|
||||
var serverVersion = ServerVersion.AutoDetect(connString);
|
||||
|
||||
// 2026.01.09 aggiornata init componente POMELO
|
||||
#if false
|
||||
@@ -175,16 +175,16 @@ namespace EgwCoreLib.Lux.Data
|
||||
.Property(e => e.TagList)
|
||||
.HasColumnType("json");
|
||||
#endif
|
||||
|
||||
// modalità non valida x Pomelo 8 e MariaDb
|
||||
#if false
|
||||
// gestione dei dati serializzati di stima tempi come JSON
|
||||
modelBuilder.Entity<ProductionGroupModel>()
|
||||
.OwnsMany(x => x.WorkGroupList, b =>
|
||||
{
|
||||
b.ToJson();
|
||||
});
|
||||
// Forza il tipo colonna se la migration continua a fallire
|
||||
modelBuilder.Entity<ProductionGroupModel>()
|
||||
.Property(e => e.WorkGroupList)
|
||||
.HasColumnType("json");
|
||||
});
|
||||
#endif
|
||||
|
||||
#if false
|
||||
// JobTask ↔ Tags
|
||||
|
||||
Reference in New Issue
Block a user