Changes
Page history
Update database
authored
Jun 10, 2020
by
Arjot Singh Rai (arr455)
Hide whitespace changes
Inline
Side-by-side
database.md
View page @
dc2547cb
This app will use Room for databases.
```
The database is structured as followed:
Table Name: LocationStatus
...
...
@@ -11,12 +10,12 @@ Columns:
Table Name: Location
*
location_id: primary key; int
* location: string;**(Note: Might needed to be changed according to the way this data is to be stored.) **
*
latitude: decimal
*
longitude: decimal
Table Name: Status
*
status_id: primary key; int
* status: string;
**( Note: Might needed to be changed according to the way this data is to be stored. ) **
*
status: string;
Possible Values: "vibration", "silent"
All fields are required.
```
\ No newline at end of file