Changes between Version 3 and Version 4 of RelationalDesign


Ignore:
Timestamp:
12/07/22 16:19:33 (2 years ago)
Author:
201100
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RelationalDesign

    v3 v4  
    1818•       Quiz Taker(__**userID__***(user), tournamentID*(tournament), tournamentPhaseID*(tournament Phase))
    1919
    20 •       Tournament Organizer(__**userID__***(user), **tournamentID***(tournament))
     20•       Tournament Organizer(__**userID__***(moderator), **tournamentID***(tournament))
    2121
    2222•       Tournament(__**tournamentID**__, **tournamentName**)
     
    3030•       Quiz(__**quizID**__, **categoryID***(category), **quizName**, tournamentPhaseID*(tournament Phase))
    3131
    32 •       Medal(__**medalID**__, **userID***(user), **tournamentID***(tournament), **medalName**, **description**)
     32•       Medal(__**medalID**__, **userID***(quizTaker), **tournamentID***(tournament), **medalName**, **description**)
    3333
    3434•       Question(__**questionID**__, **questionText**, **quizID***(quiz))
     
    4444•       Selected Choice(__**choiceID**__*(choice))
    4545
    46 •       Attempt(__**attemptID**__, **userID***(user), **attemptDate**, **quizID***(quiz))
     46•       Attempt(__**attemptID**__, **userID***(quizTaker), **attemptDate**, **quizID***(quiz))
    4747
    4848•       Result(__**resultID**__, **attemptID***(attempt), **points**)
     
    5252•       quiz_is_part_of_tournament(__**quizID**__*(quiz), __**tournamentID**__*(tournament))
    5353
    54 •       tournamentOrganizer_hosts _tournament(__**userID**__*(user), __**tournamentID**__*(tournament))
     54•       tournamentOrganizer_hosts _tournament(__**userID**__*(tournamentOrganizer), __**tournamentID**__*(tournament))
    5555
    5656•       question_is_part_of_quiz(__**questionID**__*(question), __**quizID**__*(quiz))
    5757
    58 •       quizTaker_participates_in_tournament(__**userID**__*(user), __**tournamentID**__*(tournament))
     58•       quizTaker_participates_in_tournament(__**userID**__*(quizTaker), __**tournamentID**__*(tournament))
    5959
    60 •       quizTaker_participates_in_tournamentPhase(__**userID**__*(user), __**tournamentPhaseID**__*(tournament Phase))
     60•       quizTaker_participates_in_tournamentPhase(__**userID**__*(quizTaker), __**tournamentPhaseID**__*(tournament Phase))
    6161
    6262•       medal_is_awarded_to_quizTaker(__**medalID**__*(medal), __**userID**__*(user))