Last active
April 16, 2019 23:58
-
-
Save Israel025/347392d12d09d2e407004db43458fdd2 to your computer and use it in GitHub Desktop.
Coding Hours Challenge - TimeOff App DB Modelling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 1: Identifying Entities: | |
Staff | |
Admin | |
Leave | |
Step 2: Identifying Attributes and Define Attributes Data types: | |
Staff: staff_id(int), first_name(string), last_name(string), email(string), organization(string), designation(string), | |
department(string), manager(string), phone(string), dob(date), gender(string), country(string), city(string), state(string) | |
Admin: admin_id(int), first_name(string), last_name(string), email(string),gender(string), designation(string), organization(string), | |
phone(string) | |
leave: leave_id(int), leave_type(string), | |
Step 3: Identifying Entities Relationships: | |
staff - leave (1:M) | |
Admin - staff (1:M) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment