You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are situations where mongo documents need to be updated by running scripts. All such scripts are located in profile-service/scripts/mongo directory. The way to run the script is given below.
mongo HOST:PORT/DATABASE_NAME SCRIPT_NAME
An example
cd ~/profile-service/scripts/mongo
mongo localhost:27017/profiles addIsCustomMapConfigField.js