1.修改 MyProjectMigrationsDbContext中OnModelCreating方法中

            builder.ConfigurePermissionManagement("Abp_");
            builder.ConfigureSettingManagement("Abp_");
            builder.ConfigureBackgroundJobs(o => o.TablePrefix = "Abp_");
            builder.ConfigureAuditLogging("Abp_");
            builder.ConfigureIdentity(o => o.TablePrefix = "Abp_");
            builder.ConfigureTenantManagement("Abp_");

 

2.在Startup中ConfigureServices添加:

            SettingManagementDbContext.TablePrefix = "Abp_";
            PermissionManagementDbContext.TablePrefix = "Abp_";
            BackgroundJobsDbContext.TablePrefix = "Abp_";
            AbpAuditLoggingDbContext.TablePrefix = "Abp_";
            IdentityDbContext.TablePrefix = "Abp_";
            TenantManagementDbContext.TablePrefix = "Abp_";

 

相关文章:

  • 2022-12-23
  • 2021-06-27
  • 2021-12-03
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
猜你喜欢
  • 2022-01-31
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案