Merge remote-tracking branch 'origin/master' into umbrella
This commit is contained in:
commit
aa1cab1ccb
|
@ -234,8 +234,6 @@ function uniqueIndexes() {
|
|||
db.stakeholder.createIndex( { "alias": 1 }, { unique: true } );
|
||||
}
|
||||
|
||||
// use monitordb;
|
||||
|
||||
upperCaseEnumValues();
|
||||
addHeightInIndicators();
|
||||
addVisibility();
|
||||
|
|
|
@ -52,8 +52,6 @@ function addFooterHelpTextForPortalType(portalType) {
|
|||
}
|
||||
}
|
||||
|
||||
// use monitordb;
|
||||
|
||||
addHomePageInPortalType("funder");
|
||||
addFooterDivIdForPortalType("funder");
|
||||
addFooterHelpTextForPortalType("funder");
|
||||
|
|
|
@ -176,7 +176,5 @@ function addFundingStreamInDefaultMSCA() {
|
|||
}
|
||||
}
|
||||
|
||||
// use monitordb;
|
||||
|
||||
statsProfileOfIndicatorsAsVariable();
|
||||
addFundingStreamInDefaultMSCA();
|
||||
|
|
|
@ -12,5 +12,12 @@ function deleteIndexParameters() {
|
|||
})
|
||||
}
|
||||
|
||||
// use irish-prod;
|
||||
function addCopyWithDefaultValue() {
|
||||
/* Set default profiles with copy: false */
|
||||
db.stakeholder.updateMany({defaultId: null, copy: {$exists: false}}, {$set: {copy: false}});
|
||||
/* Set not default profiles with copy: true */
|
||||
db.stakeholder.updateMany({defaultId: {$ne: null}, copy: {$exists: false}}, {$set: {copy: true}});
|
||||
}
|
||||
|
||||
deleteIndexParameters();
|
||||
addCopyWithDefaultValue();
|
||||
|
|
Loading…
Reference in New Issue