* Added explicit migration for AddOpenIddict and * Renamed the UmbracoOpenIddictDbContextModelSnapshot to UmbracoDbContextModelSnapshot to align with the name of the DBContext * Added comment to UmbracoDbContext about it is for internal use * Only execute all migrations at initial install time --------- Co-authored-by: kjac <kja@umbraco.dk>
12 lines
339 B
C#
12 lines
339 B
C#
using Umbraco.Cms.Core.Notifications;
|
|
|
|
namespace Umbraco.Cms.Infrastructure.Migrations.Notifications;
|
|
|
|
public class DatabaseSchemaAndDataCreatedNotification : INotification
|
|
{
|
|
public bool RequiresUpgrade { get; }
|
|
|
|
public DatabaseSchemaAndDataCreatedNotification(bool requiresUpgrade)
|
|
=> RequiresUpgrade = requiresUpgrade;
|
|
}
|