Beispiel #1
0
        private void ApplyMigrations(MigrationPlan migrationPlan)
        {
            if (migrationPlan.IsEmpty)
            {
                return;
            }

            Logger.LogMessage(migrationPlan.GetFullInfo());

            foreach (var migration in migrationPlan)
            {
                migrations.Add(new MigrationTask(
                                   migration.Target,
                                   servers.Get(migration.SourceId),
                                   servers.Get(migration.RecieverId)));
            }
        }