Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

462 B
Raw Blame
namespace Grand.Infrastructure.Migrations;

public interface IMigration : IBaseMigration
{
    /// <summary>
    ///     Gets order of this startup migration implementation
    /// </summary>
    int Priority { get; }

    /// <summary>
    ///     Upgrade process
    /// </summary>
    /// <param name="database"></param>
    /// <param name="serviceProvider"></param>
    /// <returns></returns>
    bool UpgradeProcess(IServiceProvider serviceProvider);
}