adding Admin server

This commit is contained in:
Luke Berndt
2021-01-10 22:23:09 -05:00
parent c8b4f02d06
commit 86eb854848
156 changed files with 53167 additions and 15978 deletions

18
account-old/upgrade_db.js Normal file
View File

@@ -0,0 +1,18 @@
db = db.getMongo().getDB( "scanner" );
db.users.find().forEach(
function(user){
db.systems.updateMany(
{ "user": { $eq: user.email } },
{
$set: { "userId": user._id, "showScreenName": false },
}
);
print("Upgrading: " + user.email);
});