Database ER Diagram
Database ER Diagram
1
PK complaintID int
M
FK userID int
1 FK statusID int
description varchar
date date
USER
1
PK userID int
EVIDENCE
name varchar
M PK evidenceID int
DOB date
FK complaintID int
address varchar
Entity description varchar
phonenumber int
Employee ID Type type varchar
email varchar
Name Type Entity
age int
Address Type Field PK STATUS
M
Field Type Field Type PK statusID int
Field Type last_updated varchar
description varchar
date_created date
Add different endpoints by selecting a line
and choosing from the dropdown in the top
panel.
LOCATION
M
Customize class shapes by selecting them
and editing them in the contextual panel that PK locationID int
POLICE_STATION
Entity Entity appears. 1 city varchar 1
PK stationID int
Field Type Field Type country varchar
1 name varchar
Field Type Field Type address varchar
phonenumber varchar
Field Type Field Type state varchar
FK locationID int
Field Type Field Type 1
branch varchar
OFFICER
PK officerID int
M name varchar
FK stationID int
DEPARTMENT badge_no int
Entity
PK departmentID int
Key Field Type M
FK locationID int
Key Field Type M
name varchar
Key Field Type
headofdept varchar