using LINGYUN.Abp.WebhooksManagement; using LINGYUN.Abp.WebhooksManagement.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Volo.Abp.Data; using Volo.Abp.EntityFrameworkCore; namespace LINGYUN.Abp.MicroService.WebhookService; [ConnectionStringName("Default")] public class WebhookServiceMigrationsDbContext : AbpDbContext, IWebhooksManagementDbContext { public DbSet WebhookSendRecord { get; set; } public DbSet WebhookGroupDefinitionRecords { get; set; } public DbSet WebhookDefinitionRecords { get; set; } public WebhookServiceMigrationsDbContext(DbContextOptions options) : base(options) { } protected override void OnModelCreating(ModelBuilder modelBuilder) { base.OnModelCreating(modelBuilder); modelBuilder.ConfigureWebhooksManagement(); } }