issues: ENG-6613 and ENG-6612
These scripts
- check if usingIdentityCredentials flag is set to true in user_credentials.json
- if so check if metadata table is correctly filled in
- if either of these is not fulfilled asks the dev if they want to set up a new authoritative keyserver
- if they agree, the db is moved to a backup and the dev is prompted for admin credentials (username and password)
I found using bash for operations on the db, and using js for writing files to be the most readable. I also had the js code already written as part of my February goal. But if this is too messy I can also write everything in bash. Please let me know what you think
In .sh files we don't seem to cut the lines to be under 80 characters