Created
April 9, 2019 14:43
-
-
Save mrfoh/5f0fced0a39c4be1031839b461b81a98 to your computer and use it in GitHub Desktop.
This file contains 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
Assignment | |
Fork this [repo](https://github.com/mrfoh/timeoff-backend) for the timeoff backend app, as this will serve a foundation for | |
the backend for your Timeoff application | |
1. Maintaining the current structure, create new migrations for the following tables; | |
a. users with the following columns; first_name, last_name, email, password, timestamps | |
b. requests; user_id, organization_id, employee_id, request_type(type of timeoff), start_date, end_date, status(status of the request), timestamps | |
2. Define models for the | |
a. users table | |
b. requests table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment