Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

NopMigrationDefaults.cs

namespace Nop.Data.Migrations;

/// 
/// Represents default values related to migration process
/// 
public static partial class NopMigrationDefaults
{
    /// 
    /// Gets the supported datetime formats
    /// 
    public static string[] DateFormats { get; } = ["yyyy-MM-dd HH:mm:ss", "yyyy.MM.dd HH:mm:ss", "yyyy/MM/dd HH:mm:ss", "yyyy-MM-dd HH:mm:ss:fffffff", "yyyy.MM.dd HH:mm:ss:fffffff", "yyyy/MM/dd HH:mm:ss:fffffff"];

    /// 
    /// Gets the format string to create the description of update migration
    /// 
    /// 0 - nopCommerce version
    /// 1 - update migration type
    /// 
    /// 
    public static string UpdateMigrationDescription => "nopCommerce version {0}. Update {1}";
}