|
|
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 |