Closed abendebury closed 10 years ago
This is actually trickier than we thought - the whole logging system needs to be redone. Projects need to somehow be associated with entries in the logs
table. We could make a one-to-many relationship between them.
Yeah I'd say just add a foreign key for the project the log belongs to into the Log
model, and change the log
method to take in and record the project_id
.
Documents must be part of a project which must be owned by a user.