liquid_feedback_frontend
diff model/survey_question.lua @ 1735:5a8a09119865
Added survey feature
author | bsw |
---|---|
date | Fri Oct 08 00:09:23 2021 +0200 (2021-10-08) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/model/survey_question.lua Fri Oct 08 00:09:23 2021 +0200 1.3 @@ -0,0 +1,10 @@ 1.4 +SurveyQuestion = mondelefant.new_class() 1.5 +SurveyQuestion.table = 'survey_question' 1.6 + 1.7 +SurveyQuestion:add_reference{ 1.8 + mode = 'm1', 1.9 + to = "Survey", 1.10 + this_key = 'survey_id', 1.11 + that_key = 'id', 1.12 + ref = 'survey', 1.13 +}