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.

801 B
Raw Blame
using Grand.Infrastructure.Migrations;

namespace Grand.Modules.Tests.Services.Migrations
{
    public class MigrationUpgrade_Test : IMigration
    {

        public int Priority => 0;

        public DbVersion Version => new(int.Parse(Grand.Infrastructure.GrandVersion.MajorVersion), int.Parse(Grand.Infrastructure.GrandVersion.MinorVersion));

        public Guid Identity => new("6BDB7093-4C31-4D78-9604-58188DF728D3");

        public string Name => "Upgrade database";

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