Closed neXgithub closed 3 years ago
Andrew said a. Checking that bosses won't be able to wishlist their own jobs. I was taught to do it in views.py later by just writing if job.boss is not user: add it to wishlist
Andrew to update django models.py according to Nicholas' specification. On it righto
@neXgithub Per your database design, questions:
On User, why:
Why both Tags and Categorisation??
Date = when they subscribed/ signed up.
Categorization is a linking table https://en.wikipedia.org/wiki/Associative_entity Its so that we do not have a many to many relationship. That really messed up the database
next time we do a database design Ill add the data type.
Things like address/ name should be broken down into subfields like first name, last name, street number, city, country, zip-code
@neXgithub
On 2 (Categorization & Tagging),
Isn't it always a one-to-many relationship tho?
EG Job 1 - Title: Pull weed from my garden. Tag: Gardening
EG Job 2 - Title: Clean my garden Tag: Gardening
IE: Many jobs to one tag. No jobs have more than one tag.
Or you have a more specific categorization (kinda like labels) in mind? But that's too much complexity and harms our minimalistic end-goals no? Or am I missing something here?
did you push your changes for the model? Cause I do not see any changes on the model file and I've pulled
Ignore the shifts back and forth, mistyped.
Time: 1 hour Task: Redesign detabase Deliverable: List of tables with primary and secondary keys Person: Nick
Completed: