Change StringData from nvarchar(2000) to NCLOB in oracle (#4159)
* Change StringData from nvarchar(2000) to NCLOB in oracle * Update DbContext.cs
This commit is contained in:
parent
282ef24446
commit
ff9310b0b4
|
|
@ -38,6 +38,7 @@ public class ManagementElsaDbContext : ElsaDbContextBase
|
|||
// In order to use data more than 2000 char we have to use NCLOB.
|
||||
// In oracle we have to explicitly say the column is NCLOB otherwise it would be considered nvarchar(2000).
|
||||
modelBuilder.Entity<WorkflowInstance>().Property("Data").HasColumnType("NCLOB");
|
||||
modelBuilder.Entity<WorkflowDefinition>().Property("StringData").HasColumnType("NCLOB");
|
||||
modelBuilder.Entity<WorkflowDefinition>().Property("Data").HasColumnType("NCLOB");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue