388 | | == user_course == |
389 | | phew ... |
| 388 | Connects courses and __students__ (many-to-many relationship) |
| 389 | ||__Column__||__Type__||__Description__||__Foreign Key to table...__|| |
| 390 | ||'''id'''||integer||Primary_Key |
| 391 | ||'''course_id'''||The ID of the course the student is enrolled in.||''courses'' |
| 392 | ||'''user_id'''||The ID of the student that's enrolled in this course.||''users'' |
| 393 | ||'''record_status'''||enum(A,I)||either 'A' or 'I', representing active or inactive. Not always checked by code. |
| 394 | ||'''creator_id'''||integer||the ID of the ''user'' who created this record.||''users'' |
| 395 | ||'''created'''||date||a date entry for this entry's creation. |
| 396 | ||'''updater_id'''||integer||the last ''user's'' ID who changed this record.||''users'' |
| 397 | ||'''modified'''||date||the last time of modification |
| 398 | == user_courses == |
| 399 | Connects courses and __instructors & admins__ (many-to-many relationship) |
| 400 | ||__Column__||__Type__||__Description__||__Foreign Key to table...__|| |
| 401 | ||'''id'''||integer||Primary_Key |
| 402 | ||'''user_id'''||The ID of the student that's enrolled in this course.||''users'' |
| 403 | ||'''course_id'''||The ID of the course the student is enrolled in.||''courses'' |
| 404 | ||'''access_right''||enum(O,A,R)||The access rights to this course: ''O'' means owner, ''A'' means all rights, ''R'' means read only. |
| 405 | ||'''record_status'''||enum(A,I)||either 'A' or 'I', representing active or inactive. Not always checked by code. |
| 406 | ||'''creator_id'''||integer||the ID of the ''user'' who created this record.||''users'' |
| 407 | ||'''created'''||date||a date entry for this entry's creation. |
| 408 | ||'''updater_id'''||integer||the last ''user's'' ID who changed this record.||''users'' |
| 409 | ||'''modified'''||date||the last time of modification |