ClockGU / ClockGU/clockwork-backend

Database reltaions

Open
#64 4 comments 0 reactions 1 assignee Claimed by @zakriya057 View on GitHub
Dominant language
Python
Stars
0
Forks
0
Avg merge
1m
Merged PRs (30d)
2

Description

In the current branch `presentation-fixes` i "fixed" the retrieval of Petitions by changing `student_email` ---> `student_username` in the Petition model and also in the Employee model. In the course of this change I also changed the "get_employee_by_mail" function to
"get_employee_by_username". However we do not save the username in the Employee model. All these fixes slowly tend to become convoluted!

Do get this sorted we need to tackle this in a more structured way:

1. Make schematic of models.
2. Make Connections clear.
3. Find the best fields to indicate the relation between models.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.