abp Vnext修改模块中表前缀
迁移前如下修改:

builder.ConfigurePermissionManagement(o => o.TablePrefix = "Cqjsc_");
builder.ConfigureSettingManagement(o => o.TablePrefix = "Cqjsc_");
builder.ConfigureBackgroundJobs(o => o.TablePrefix = "Cqjsc_");
builder.ConfigureAuditLogging(o => o.TablePrefix = "Cqjsc_");
builder.ConfigureIdentity(o => o.TablePrefix = "Cqjsc_");
builder.ConfigureIdentityServer(o => o.TablePrefix = "Cqjsc_");
builder.ConfigureFeatureManagement(o => o.TablePrefix = "Cqjsc_");
builder.ConfigureTenantManagement(o => o.TablePrefix = "Cqjsc_");
迁移后如下修改,且api,identityservice,种子数据生成项目都需修改

public void ConfigureTablePrefixName()
{
AbpPermissionManagementDbProperties.DbTablePrefix = "Cqjsc_";
AbpSettingManagementDbProperties.DbTablePrefix = "Cqjsc_";
BackgroundJobsDbProperties.DbTablePrefix = "Cqjsc_";
AbpAuditLoggingDbProperties.DbTablePrefix = "Cqjsc_";
AbpIdentityDbProperties.DbTablePrefix = "Cqjsc_";
AbpIdentityServerDbProperties.DbTablePrefix = "Cqjsc_";
FeatureManagementDbProperties.DbTablePrefix = "Cqjsc_";
AbpTenantManagementDbProperties.DbTablePrefix = "Cqjsc_";
}

浙公网安备 33010602011771号