Skip to content

Commit 6feb317

Browse files
committed
Export 'datamanager_transforms' when migration data
1 parent ed1fab7 commit 6feb317

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/data_migration/api/data_migration_helper.js

+1
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ module.exports = function(my_db) {
554554
scripts.push({cmd: 'mongodump', args: [...dbargs, '--collection', 'views', '-q', '{ "_id": {"$oid":"' + appid + '"}}', '--out', my_folder]});
555555
scripts.push({cmd: 'mongodump', args: [...dbargs, '--collection', 'funnels', '-q', '{ "app_id": "' + appid + '" }', '--out', my_folder]});
556556
scripts.push({cmd: 'mongodump', args: [...dbargs, '--collection', 'calculated_metrics', '-q', '{ "app": "' + appid + '" }', '--out', my_folder]});
557+
scripts.push({cmd: 'mongodump', args: [...dbargs, '--collection', 'datamanager_transforms', '-q', '{ "app": "' + appid + '" }', '--out', my_folder]});
557558

558559
//internal events
559560
for (let j = 0; j < plugins.internalEvents.length; j++) {

0 commit comments

Comments
 (0)