Changes between Version 73 and Version 74 of iPeerDatabaseSchema


Ignore:
Timestamp:
2010-10-25T16:37:45Z (14 years ago)
Author:
Serge Okon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • iPeerDatabaseSchema

    v73 v74  
    366366||'''modified'''||date||the last time of modification
    367367== users ==
     368A list of all of iPeer's users.
    368369||__Column__||__Type__||__Description__||__Foreign Key to table...__||
    369370||'''id'''||integer||Primary_Key
     
    384385||'''updater_id'''||integer||the last ''user's'' ID who changed this record.||''users''
    385386||'''modified'''||date||the last time of modification
    386 
    387387== user_enrols ==
    388 == user_course ==
    389 phew ...
     388Connects 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 ==
     399Connects 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