-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabase_details.txt
47 lines (37 loc) · 1.34 KB
/
database_details.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Drivers Table:
================
NOTE: May need to add serial number from bluetooth device. For now, I will use the license number as the id.
Entry Attribute DataType
id integer
first_name string
middle_name string
last_name string
dob date
typeid string
address string
city string
state string
zipcode integer
race string
sex string
height integer
weight integer
license integer
phone_number integer
training_completion_date date
permit_expiration_date date
physical_expiration_date date
permit_number integer
status string
owner string
company_name string
valid boolean
average_ratings decimal
total_ratings integer
Rating Table:
================
id integer
driver_id integer ----> This will correspond to the driver's license number
rating integer
comments string
timestamp timestamp