From 45731ed90fc16ea2620b75afe4df6a3c42684c3c Mon Sep 17 00:00:00 2001 From: David Valdez Date: Wed, 5 Sep 2018 21:25:46 -0500 Subject: [PATCH] Flatten all threads in the comments --- .../agaric_migration/migrations/agaric_comment.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/web/modules/custom/agaric_migration/migrations/agaric_comment.yml b/web/modules/custom/agaric_migration/migrations/agaric_comment.yml index 98f6fb6..5a08bfb 100644 --- a/web/modules/custom/agaric_migration/migrations/agaric_comment.yml +++ b/web/modules/custom/agaric_migration/migrations/agaric_comment.yml @@ -6,16 +6,10 @@ source: constants: entity_type: node comment_type: comment + default_pid: 0 process: - pid: - - - plugin: migration_lookup_with_zero - migration: agaric_comment - source: pid - no_stub: true - - - plugin: default_value - method: 0 + # All the threads are going to be flatten. + pid: 'constants/default_pid' entity_id: - plugin: migration_lookup