|
|
This app will use Room for databases.
|
|
|
|
|
|
```
|
|
|
The database is structured as followed:
|
|
|
|
|
|
Table Name: LocationStatus
|
|
|
Columns:
|
|
|
* location_status_id: primary key; int;
|
|
|
* location: int; foreign key;
|
|
|
* status: foreign key; int;
|
|
|
|
|
|
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.) **
|
|
|
|
|
|
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. ) **
|
|
|
|
|
|
All fields are required.
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |