Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database Redesign #16

Open
Grimcheese opened this issue Apr 26, 2024 · 1 comment
Open

Database Redesign #16

Grimcheese opened this issue Apr 26, 2024 · 1 comment

Comments

@Grimcheese
Copy link
Owner

The database used for storing of sensor readings is to be redesigned and re-implemented. The redesign will follow standard database design principals in order to allow for better use of the data and more flexibility for future changes.

Rough outline of process:

  • Identify entities and their attributes
  • Map relationships between entities
  • Create preliminary database schema from Entity Relationship Diagram
  • Ensure schema is normalised to 2NF
  • Implement in MySQL

Following the redesign of the database the python and sql code will need to be updated to reflect the changes. This will include changes to the test data generator scripts and the Database python module. This will affect the API which will need to be updated along with documentation.

@Grimcheese
Copy link
Owner Author

Documentation updated with new database schema - able to implement in python now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant