* Obsoleted and deleted internal migrations + Enabled breaking changes checks agains v11.0.0-rc1 * Obsoleted and deleted internal exif stuff * Added CompatibilitySuppressions.xml * Change GenerateCompatibilitySuppressionFile
24 lines
694 B
C#
24 lines
694 B
C#
using Umbraco.Cms.Infrastructure.Persistence.Dtos;
|
|
|
|
namespace Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_9_0_0;
|
|
|
|
[Obsolete("This is not used anymore and will be removed in Umbraco 13")]
|
|
public class MemberTableColumns : MigrationBase
|
|
{
|
|
public MemberTableColumns(IMigrationContext context)
|
|
: base(context)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Adds new columns to members table
|
|
/// </summary>
|
|
protected override void Migrate()
|
|
{
|
|
var columns = SqlSyntax.GetColumnsInSchema(Context.Database).ToList();
|
|
|
|
AddColumnIfNotExists<MemberDto>(columns, "securityStampToken");
|
|
AddColumnIfNotExists<MemberDto>(columns, "emailConfirmedDate");
|
|
}
|
|
}
|