Browse Source

Potentially improve migration.

pull/493/head
Sebastian 6 years ago
parent
commit
a33dbe0fa7
  1. 3
      backend/tools/Migrate_01/OldEvents/ContentUpdateProposed.cs

3
backend/tools/Migrate_01/OldEvents/ContentUpdateProposed.cs

@ -8,6 +8,7 @@
using System;
using Squidex.Domain.Apps.Core.Contents;
using Squidex.Domain.Apps.Events;
using Squidex.Domain.Apps.Events.Contents;
using Squidex.Infrastructure.EventSourcing;
using Squidex.Infrastructure.Migrations;
using Squidex.Infrastructure.Reflection;
@ -22,7 +23,7 @@ namespace Migrate_01.OldEvents
public IEvent Migrate()
{
return SimpleMapper.Map(this, new NoopConventEvent());
return SimpleMapper.Map(this, new ContentUpdated());
}
}
}

Loading…
Cancel
Save