|
|
|
@ -12,11 +12,8 @@ public static class AIManagementDbContextModelBuilderExtensions |
|
|
|
{ |
|
|
|
Check.NotNull(builder, nameof(builder)); |
|
|
|
|
|
|
|
if (builder.IsTenantOnlyDatabase()) |
|
|
|
if (builder.IsHostDatabase()) |
|
|
|
{ |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
builder.Entity<WorkspaceDefinitionRecord>(b => |
|
|
|
{ |
|
|
|
b.ToTable(AbpAIManagementDbProperties.DbTablePrefix + "WorkspaceDefinitions", AbpAIManagementDbProperties.DbSchema); |
|
|
|
@ -38,6 +35,7 @@ public static class AIManagementDbContextModelBuilderExtensions |
|
|
|
|
|
|
|
b.ApplyObjectExtensionMappings(); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
builder.TryConfigureObjectExtensions<AIManagementDbContext>(); |
|
|
|
} |
|
|
|
|