namespace Nop.Data.Migrations; /// /// Attribute for schema migration /// /// /// This migration will apply right after the migration runner will become available. /// Do not us dependency injection in migrations that are marked by this attribute, /// because IoC container not ready yet. /// public partial class NopSchemaMigrationAttribute : NopMigrationAttribute { /// /// Initializes a new instance of the NopSchemaMigrationAttribute class /// /// The migration date time string to convert on version /// The migration description /// The target migration process public NopSchemaMigrationAttribute(string dateTime, string description, MigrationProcessType targetMigrationProcess = MigrationProcessType.Update) : base(dateTime, description, targetMigrationProcess) { IsSchemaMigration = true; } }