generated from DIT113-V22/group-xx
-
Notifications
You must be signed in to change notification settings - Fork 3
Database
Sanna Zakrisson edited this page May 26, 2022
·
13 revisions
In order to be able to save and retrieve information about the plants and the users, the application will be connected to a database. The database should be updated in real time.
We are using a cloud-based database.
The plants in the database are not linked to specific users. We acknowledge that in a released version, all the users should have access to their own database and not see any other farmers' plants.
Also, once a plant is created in the database, it will not get created in the emulated environment.
- The database shall contain data for both plants and user accounts.
- The database shall be updated with new plants and/or user information.
- The application shall be able to retrieve information from the database.
- The database shall allow the deletion of plant and/or user information.
- The application shall be able to create or read information to/from the database.
- Operations to the database shall not take longer than 1 second.
- The database should have appropriate names for roots for the path.
- The database should have appropriate names for the children of the root.
- The database should be based in the cloud with real time updates from the application.
- The fields should have appropriate data types and constraints.
- We assume that the database will be connected with the application.
- We assume only authorized users have access to write and read from the database.
- We assume that the users will not get hacked.
- We assume that the cloud is always accessible and we therefore do not need a backup for our information.
- We assume that our code does not have bugs in it that disrupts the safety measures for the database.