Files
Umbraco-CMS/src/Umbraco.Infrastructure/Migrations/Notifications/DatabaseSchemaAndDataCreatedNotification.cs
Bjarke Berg dddabdb8dc Small changes to the EF Core implementations (#14640)
* 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>
2023-08-07 19:16:35 +02:00

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;
}