liquid_feedback_frontend
annotate model/rendered_suggestion.lua @ 1490:63ce1a5c05c1
Small enhancements for self registration process and management
author | bsw |
---|---|
date | Wed Mar 27 12:40:33 2019 +0100 (2019-03-27) |
parents | 808269b7f41c |
children |
rev | line source |
---|---|
bsw@280 | 1 RenderedSuggestion = mondelefant.new_class() |
bsw@280 | 2 RenderedSuggestion.table = 'rendered_suggestion' |
bsw@280 | 3 RenderedSuggestion.primary_key = { "suggestion_id", "format" } |
bsw@280 | 4 |
bsw@280 | 5 RenderedSuggestion:add_reference{ |
bsw@280 | 6 mode = 'm1', |
bsw@280 | 7 to = "Suggestion", |
bsw@280 | 8 this_key = 'suggestion_id', |
bsw@280 | 9 that_key = 'id', |
bsw@280 | 10 ref = 'suggestion', |
bsw@280 | 11 } |