Changes between Version 61 and Version 62 of iPeerDatabaseSchema


Ignore:
Timestamp:
2010-10-22T16:31:29Z (14 years ago)
Author:
Serge Okon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • iPeerDatabaseSchema

    v61 v62  
    302302||'''modified'''||date||the last time of modification
    303303== survey_questions ==
    304 Conects the surveys table to the questions table (Many-to-many relationship). Also, gives the questions a number.
    305 ||__Column__||__Type__||__Description__||__Foreign Key to table...__||
    306 ||'''id'''||integer||Primary_Key
    307 ||'''survey_id'''||integer||The survey this question belongs||''surveys''
     304Connects the surveys table to the questions table (Many-to-many relationship). Also, gives the questions a number.
     305||__Column__||__Type__||__Description__||__Foreign Key to table...__||
     306||'''id'''||integer||Primary_Key
     307||'''survey_id'''||integer||The survey this question belongs to.||''surveys''
    308308||'''number'''||integer||The question number in the survey.
    309309||'''question_id'''||integer||The question ID to put into survey||''questions''
    310310== survey_inputs ==
    311 == survey_groups ==
     311||__Column__||__Type__||__Description__||__Foreign Key to table...__||
     312||'''id'''||integer||Primary_Key
     313||'''survey_id'''||integer||The survey this answer belongs to.||''surveys''
     314||'''user_id'''||integer||The ID of the user thats responding.
     315||'''question_id'''||integer||The question ID being answered.||''questions''
     316||'''sub_id''||integer|| unused (?)
     317||'''response_text'''||string||If this was a text question, the answer is recoded here
     318||'''response_id'''||integer||Non-text responses are recorded here||''responses''
     319== survey_groups ==
     320||__Column__||__Type__||__Description__||__Foreign Key to table...__||
     321||'''id'''||integer||Primary_Key
     322
    312323== survey_group_sets ==
    313324== survey_group_members ==