digraph dbml { rankdir=LR; graph [fontname="helvetica", fontsize=32, fontcolor="#29235c", bgcolor="transparent"]; node [penwidth=0, margin=0, fontname="helvetica", fontsize=32, fontcolor="#29235c"]; edge [fontname="helvetica", fontsize=32, fontcolor="#29235c", color="#29235c"]; "job_category" [id="job_category";label=<
job_category
full_time
part_time
intern
on_campus
>]; "apply_status" [id="apply_status";label=<
apply_status
pending
reviewed
declined
>]; "eligibility_status" [id="eligibility_status";label=<
eligibility_status
all
special_major
>]; "user" [id="user";label=<
user
id integer
username varchar (!)
email varchar (!)
password_digest varchar
role integer (!)
created_at timestamp
updated_at timestamp
>]; "profile" [id="profile";label=<
profile
id integer
user_id varchar(32) (!)
created_at timestamp
>]; "basic_profile" [id="basic_profile";label=<
basic_profile
id integer
profile_id varchar(32) (!)
avatar blob
name varchar (!)
birth date (!)
city varchar
state varchar
country varchar
skillset varchar
career_objective text
>]; "education_profile" [id="education_profile";label=<
education_profile
id integer
profile_id varchar(32) (!)
college_name varchar
location varchar
degree varchar
major varchar
year_of_passing date
>]; "experience_profile" [id="experience_profile";label=<
experience_profile
id integer
profile_id varchar(32) (!)
company_name varchar
title varchar
location varchar
start_date date
end_date date
work_description text
>]; "company" [id="company";label=<
company
id integer
company_id varchar(32) (!)
avatar blob
name varchar
location varchar
description varchar
contract_email varchar
contract_phone varchar
>]; "job" [id="job";label=<
job
id integer
company_id varchar(32) (!)
title varchar
created_at timestamp
application_deadline timestamp
location varchar
salary float
desc text
category job_category
>]; "job_application" [id="job_application";label=<
job_application
id integer
job_id varchar(32) (!)
applicant_id varchar(32) (!)
resume varchar
status apply_status
created_at timestamp
updated_at timestamp
>]; "event" [id="event";label=<
event
id integer
company_id varchar(32) (!)
name varchar
description varchar
time date
location varchar
eligibility eligibility_status
created_at timestamp
updated_at timestamp
>]; "event_regisiteration" [id="event_regisiteration";label=<
event_regisiteration
id integer
event_id varchar(32) (!)
applicant_id varchar(32) (!)
regisitered_at timestamp
>]; "profile":f0 -> "user":f0 [style=invis, weight=100, color=red] "profile":f2:e -> "user":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="1"] "basic_profile":f0 -> "profile":f0 [style=invis, weight=100, color=red] "basic_profile":f2:e -> "profile":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="1"] "education_profile":f0 -> "profile":f0 [style=invis, weight=100, color=red] "education_profile":f2:e -> "profile":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="*"] "experience_profile":f0 -> "profile":f0 [style=invis, weight=100, color=red] "experience_profile":f2:e -> "profile":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="*"] "company":f0 -> "user":f0 [style=invis, weight=100, color=red] "company":f2:e -> "user":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="1"] "job":f0 -> "company":f0 [style=invis, weight=100, color=red] "job":f2:e -> "company":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="*"] "job_application":f0 -> "job":f0 [style=invis, weight=100, color=red] "job_application":f2:e -> "job":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="*"] "job_application":f0 -> "profile":f0 [style=invis, weight=100, color=red] "job_application":f3:e -> "profile":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="*"] "event":f0 -> "company":f0 [style=invis, weight=100, color=red] "event":f2:e -> "company":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="*"] "event_regisiteration":f0 -> "event":f0 [style=invis, weight=100, color=red] "event_regisiteration":f2:e -> "event":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="*"] "event_regisiteration":f0 -> "profile":f0 [style=invis, weight=100, color=red] "event_regisiteration":f3:e -> "profile":f1:w [dir=forward, penwidth=3, color="#29235c", headlabel="1", taillabel="*"] "job":f9:e -> "job_category":f0:w [penwidth=3, color="#29235c", arrowhead="none", arrowtail="none"] "job_application":f5:e -> "apply_status":f0:w [penwidth=3, color="#29235c", arrowhead="none", arrowtail="none"] "event":f7:e -> "eligibility_status":f0:w [penwidth=3, color="#29235c", arrowhead="none", arrowtail="none"] }