bsw@11: Timeline = mondelefant.new_class() bsw@11: Timeline.table = 'timeline' bsw@11: bsw@11: Timeline:add_reference{ bsw@11: mode = '11', bsw@11: to = "Member", bsw@11: this_key = 'member_id', bsw@11: that_key = 'id', bsw@11: ref = 'member' bsw@11: } bsw@11: bsw@11: Timeline:add_reference{ bsw@11: mode = '11', bsw@11: to = "Issue", bsw@11: this_key = 'issue_id', bsw@11: that_key = 'id', bsw@11: ref = 'issue' bsw@11: } bsw@11: bsw@11: Timeline:add_reference{ bsw@11: mode = '11', bsw@11: to = "Initiative", bsw@11: this_key = 'initiative_id', bsw@11: that_key = 'id', bsw@11: ref = 'initiative' bsw@11: } bsw@11: bsw@11: Timeline:add_reference{ bsw@11: mode = '11', bsw@11: to = "Draft", bsw@11: this_key = 'draft_id', bsw@11: that_key = 'id', bsw@11: ref = 'draft' bsw@11: } bsw@11: bsw@11: Timeline:add_reference{ bsw@11: mode = '11', bsw@11: to = "Suggestion", bsw@11: this_key = 'suggestion_id', bsw@11: that_key = 'id', bsw@11: ref = 'suggestion' bsw@11: }