Browse Source

fix(notifications): removes migration in host-only

pull/769/head
cKey 3 years ago
parent
commit
f55e6056c7
  1. 5
      aspnet-core/modules/notifications/LINGYUN.Abp.Notifications.EntityFrameworkCore/LINGYUN/Abp/Notifications/EntityFrameworkCore/NotificationsDbContextModelCreatingExtensions.cs

5
aspnet-core/modules/notifications/LINGYUN.Abp.Notifications.EntityFrameworkCore/LINGYUN/Abp/Notifications/EntityFrameworkCore/NotificationsDbContextModelCreatingExtensions.cs

@ -68,11 +68,6 @@ namespace LINGYUN.Abp.Notifications.EntityFrameworkCore
{ {
Check.NotNull(builder, nameof(builder)); Check.NotNull(builder, nameof(builder));
if (!builder.IsHostOnlyDatabase())
{
return;
}
var options = new AbpNotificationsModelBuilderConfigurationOptions(); var options = new AbpNotificationsModelBuilderConfigurationOptions();
optionsAction?.Invoke(options); optionsAction?.Invoke(options);

Loading…
Cancel
Save