mjennings061 / viking-log-keeper

661 VGS - Collate gliding log sheets into a database and visual dashboard.
https://viking.streamlit.com/
MIT License
5 stars 0 forks source link

Database rework - major breaking changes #80

Closed mjennings061 closed 1 month ago

mjennings061 commented 1 month ago

Closes #79

Major breaking changes to:

  1. Use a new MongoDB cluster with one user per VGS and an admin user:
  2. Move VGS databases into the one "Project" on MongoDB Atlas: 2FTS.
  3. Changed usernames of users
  4. Added DbUser, Database, Client classes to encapsulate MongoClient functions and manage the DB

New DB schema image

Minor changes to:

  1. File uploader now logs the number of launches deleted and replaced
  2. Added test user to ensure tests login to a real user
  3. Added MONGO_URI as a repository secret