|
|
|
@ -82,11 +82,11 @@ namespace Migrate_01.Migrations |
|
|
|
{ |
|
|
|
var rulesByApp = new Dictionary<Guid, HashSet<Guid>>(); |
|
|
|
|
|
|
|
await statesForRules.ReadAllAsync((schema, version) => |
|
|
|
await statesForRules.ReadAllAsync((rule, version) => |
|
|
|
{ |
|
|
|
if (!schema.IsDeleted) |
|
|
|
if (!rule.IsDeleted) |
|
|
|
{ |
|
|
|
rulesByApp.GetOrAddNew(schema.AppId.Id).Add(schema.Id); |
|
|
|
rulesByApp.GetOrAddNew(rule.AppId.Id).Add(rule.Id); |
|
|
|
} |
|
|
|
|
|
|
|
return TaskHelper.Done; |
|
|
|
|