This commit is contained in:
@@ -56,6 +56,8 @@ namespace Sockeye.Models
|
||||
public virtual DbSet<IntegrationItem> IntegrationItem { get; set; }
|
||||
public virtual DbSet<IntegrationLog> IntegrationLog { get; set; }
|
||||
|
||||
public virtual DbSet<License> License { get; set; }
|
||||
|
||||
//Note: had to add this constructor to work with the code in startup.cs that gets the connection string from the appsettings.json file
|
||||
//and commented out the above on configuring
|
||||
public AyContext(DbContextOptions<AyContext> options) : base(options)
|
||||
@@ -114,7 +116,7 @@ namespace Sockeye.Models
|
||||
//SERIALIZED OBJECTS
|
||||
//
|
||||
|
||||
//modelBuilder.Entity<WorkOrder>().Property(z => z.Serial).UseIdentityByDefaultColumn();
|
||||
modelBuilder.Entity<Case>().Property(z => z.CaseId).UseIdentityByDefaultColumn();
|
||||
//## NOTE: if more added here then must also update globalbizsettingscontroller.seeds and client
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user