Closed drfaustusfade closed 4 years ago
// ngm-reporthub.server.build +2 lines activities processing db.getCollection('activities').find({}).forEach(function (d) { if( d.mpc_transfer_category_id && d.mpc_transfer_category_id.length ) { d.mpc_transfer_category_id = JSON.parse(d.mpc_transfer_category_id); db.getCollection('activities').save(d); } }); db.getCollection('activities').find({}).forEach(function (d) { if( d.mpc_grant_type_id && d.mpc_grant_type_id.length ) { d.mpc_grant_type_id = JSON.parse(d.mpc_grant_type_id); db.getCollection('activities').save(d); } });
Updated on DEV and PROD