Modello ER LiquidFeedback

236 views

Published on

Modello Entità-Relazione del database utilizzato da LiquidFeedback

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
236
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Modello ER LiquidFeedback

  1. 1. initiative_setting member_id : int4 * key : text initiative_id : int4 * value : text allowed_policy setting_map area_id : int4 * policy_id : int4 * default_policy : bool rendered_issue_comment direct_voter member_history issue_id : int4 * member_id : int4 * weight : int4 member_id : int4 * issue_id : int4 * key : text member_id : int4 * delegating_interest_snapshot_issue_id_fkey subkey : text format : text value : text content : text id : int8 member_id : int4 * until : timestamptz active : bool name : text ignored_member member_id : int4 * other_member_id : int4 * unit_setting delegating_interest_snapshot member_id : int4 * key : text unit_id : int4 * value : text direct_voter_member_id_fkey initiative_setting_member_id_fkey contact_member_id_fkey member_history_member_id_fkey direct_voter_issue_id_fkey setting_map_member_id_fkey ignored_member_other_member_id_fkey ignored_member_member_id_fkey unit_setting_member_id_fkey contact_other_member_id_fkey event_member_id_fkey initiative_setting_initiative_id_fkey rendered_issue_comment_issue_id_fkey unit_setting_unit_id_fkey contact member_id : int4 * other_member_id : int4 * public : bool issue id : int4 area_id : int4 * policy_id : int4 * state : issue_state created : timestamptz accepted : timestamptz half_frozen : timestamptz fully_frozen : timestamptz closed : timestamptz ranks_available : bool cleaned : timestamptz admission_time : interval discussion_time : interval verification_time : interval voting_time : interval snapshot : timestamptz latest_snapshot_event : snapshot_event population : int4 voter_count : int4 status_quo_schulze_rank : int4 battle issue_id : int4 * winning_initiative_id : int4 * losing_initiative_id : int4 * count : int4 member_image direct_interest_snapshot_member_id_fkey phone : text mobile_phone : text profession : text external_memberships : text external_posts : text formatting_engine : text non_voter_member_id_fkey statement : direct_supporter_snapshot_member_id_fkey text text_search_data : tsvector suggestion_setting_member_id_fkey vote_issue_id_fkey1 member unit_parent_id_fkey draft interest suggestion rendered_suggestion area privilege supporter unit_id : int4 * member_id : int4 * admin_manager : bool unit_manager : bool area_manager : bool voting_right_manager : bool voting_right : bool supporter_issue_id_fkey initiative_id : int4 * suggestion_id : int8 * id : int4 id : int8 format : text unit_id : int4 * draft_id : int8 * content : text active : bool created : timestamptz name : text supporter_initiative_id_fkey author_id : int4 * description : text name : text direct_member_count : int4 formatting_engine : rendered_suggestion_suggestion_id_fkey text member_weight : int4 content : text text_search_data : tsvector text_search_data : tsvector minus2_unfulfilled_count : int4 minus2_fulfilled_count : int4 minus1_unfulfilled_count : int4 minus1_fulfilled_count : int4 plus1_unfulfilled_count : int4 plus1_fulfilled_count : int4 plus2_unfulfilled_count : int4 plus2_fulfilled_count : int4 issue_id : int4 * member_id : int4 * area_setting_area_id_fkey suggestion_initiative_id_fkey1 issue_id : int4 * initiative_id : int4 * member_id : int4 * draft_id : int8 * rendered_voting_comment issue_id : int4 * member_id : int4 * format : text content : text opinion_initiative_id_fkey opinion_initiative_id_fkey1 delegation_area_id_fkey membership_area_id_fkey privilege_member_id_fkey initiator_member_id_fkey member_application_member_id_fkey membership_member_id_fkey rendered_member_statement_member_id_fkey session_member_id_fkey initiative_revoked_by_member_id_fkey event_initiative_id_fkey1 delegation issue_setting id : int8 member_id : int4 * truster_id : int4 * key : text trustee_id : int4 * issue_id : int4 * scope : delegation_scope value : text unit_id : int4 * direct_supporter_snapshot_issue_id_fkey area_id : int4 * issue_id : int4 * suggestion_initiative_id_fkey session ident : text additional_secret : text expiry : timestamptz member_id : int8 * lang : text rendered_draft draft_id : int8 * format : text content : text issue_setting_issue_id_fkey initiative_issue_id_fkey issue_comment_member_id_fkey ignored_initiative_initiative_id_fkey direct_population_snapshot_issue_id_fkey issue_policy_id_fkey event_issue_id_fkey1 issue_comment_issue_id_fkey member_id : int4 * key : text other_member_id : int4 * value : text setting_member_id_fkey delegation_truster_id_fkey delegation_trustee_id_fkey delegating_voter_issue_id_fkey event_issue_id_fkey member_relation_setting issue_setting_member_id_fkey ignored_initiative_member_id_fkey voting_comment_member_id_fkey event_initiative_id_fkey unit voting_comment non_voter direct_interest_snapshot direct_supporter_snapshot setting id : int4 issue_id : int4 * issue_id : int4 * issue_id : int4 * issue_id : int4 * member_id : int4 * delegating_population_snapshot_member_id_fkey direct_supporter_snapshot_issue_id_fkey1 suggestion_setting_suggestion_id_fkey parent_id : int4 * member_id : int4 * member_id : int4 * delegating_voter_member_id_fkey event : snapshot_event initiative_id : int4 * key : text delegation_unit_id_fkey active : bool changed : timestamptz member_id : int4 * event : snapshot_event* battle_issue_id_fkey1 value : text direct_population_snapshot_member_id_fkey direct_interest_snapshot_issue_id_fkey name : text formatting_engine : text weight : int4 member_id : int4 * description : text content : text draft_id : battle_issue_id_fkey int8 * member_count : int4 text_search_data : tsvector delegation_issue_id_fkey informed : bool non_voter_issue_id_fkey text_search_data : tsvector satisfied : bool voting_comment_issue_id_fkey area_setting allowed_policy_area_id_fkey id : int4 member_id : int4 * member_id : int4 * initiative_id : int4 * created : timestamptz image_type : member_image_type key : text id : int8 area_setting_member_id_fkey invite_code : text scaled : bool area_id : int4 created : timestamptz rendered_voting_comment_issue_id_fkey * invite_code_expiry : timestamptz content_type : text value : text author_id : int4 * admin_comment : text data : bytea formatting_engine : text activated : timestamptz content : text last_activity : date text_search_data : tsvector delegating_interest_snapshot_member_id_fkey last_login : timestamptz login : text password : text locked : bool active : bool member_relation_setting_member_id_fkey admin : bool member_image_member_id_fkey draft_author_id_fkey lang : text notify_email : text notify_email_unconfirmed : text notify_email_secret : text notify_email_secret_expiry : timestamptz notify_email_lock_expiry : timestamptz interest_member_id_fkey notify_level : notify_level password_reset_secret : text password_reset_secret_expiry : timestamptz member_relation_setting_other_member_id_fkey name : text suggestion_author_id_fkey identification : text direct_supporter_snapshot_initiative_id_fkey privilege_unit_id_fkey authentication : text rendered_draft_draft_id_fkey draft_initiative_id_fkey allowed_policy_policy_id_fkey organizational_unit : text area_unit_id_fkey interest_issue_id_fkey internal_posts : text realname : text birthday : date address : text email : text xmpp_address : text issue_area_id_fkey website : text issue_id : int4 * event : snapshot_event member_id : int4 * weight : int4 scope : delegation_scope delegate_member_ids : _int4 vote_issue_id_fkey delegating_population_snapshot_issue_id_fkey initiative issue_id : int4 * id : int4 name : text discussion_url : text created : timestamptz revoked : timestamptz revoked_by_member_id : int4 * suggested_initiative_id : int4 * admitted : bool supporter_count : int4 informed_supporter_count : int4 satisfied_supporter_count : int4 satisfied_informed_supporter_count : int4 positive_votes : int4 negative_votes : int4 direct_majority : bool indirect_majority : bool schulze_rank : int4 better_than_status_quo : bool worse_than_status_quo : bool reverse_beat_path : bool multistage_majority : bool eligible : bool winner : bool rank : int4 text_search_data : tsvector policy id : int4 index : int4 active : bool name : text description : text admission_time : interval discussion_time : interval verification_time : interval voting_time : interval issue_quorum_num : int4 issue_quorum_den : int4 initiative_quorum_num : int4 initiative_quorum_den : int4 direct_majority_num : int4 direct_majority_den : int4 direct_majority_strict : bool direct_majority_positive : int4 direct_majority_non_negative : int4 indirect_majority_num : int4 indirect_majority_den : int4 indirect_majority_strict : bool indirect_majority_positive : int4 indirect_majority_non_negative : int4 no_reverse_beat_path : bool no_multistage_majority : bool member_application id : int8 member_id : int4 * name : text comment : text access_level : application_access_level key : text last_usage : timestamptz membership area_id : int4 * member_id : int4 * rendered_member_statement member_id : int8 * format : text content : text opinion initiative_id : int4 * suggestion_id : int8 * member_id : int4 * degree : int2 fulfilled : bool initiator initiative_id : int4 * member_id : int4 * accepted : bool initiator_initiative_id_fkey initiative_suggested_initiative_id_fkey vote issue_id : int4 * initiative_id : int4 * member_id : int4 * grade : int4 issue_delegation issue_id : int4 id : int8 truster_id : int4 trustee_id : int4 scope : delegation_scope delegating_population_snapshot issue_id : int4 * event : snapshot_event member_id : int4 * weight : int4 scope : delegation_scope delegate_member_ids : _int4 timeline_suggestion occurrence : timestamptz event : timeline_event suggestion_id : int8 suggestion_setting member_id : int4 * key : text suggestion_id : int8 * value : text critical_opinion initiative_id : int4 suggestion_id : int8 member_id : int4 degree : int2 fulfilled : bool direct_population_snapshot issue_id : int4 * event : snapshot_event member_id : int4 * weight : int4 timeline_initiative occurrence : timestamptz event : timeline_event initiative_id : int4 delegating_voter issue_id : int4 * member_id : int4 * weight : int4 scope : delegation_scope delegate_member_ids : _int4 area_member_count area_id : int4 direct_member_count : int8 member_weight : int8 event id : int8 occurrence : timestamptz event : event_type member_id : int4 * issue_id : int4 * state : issue_state initiative_id : int4 * draft_id : int8 * suggestion_id : int8 * selected_event_seen_by_member seen_by_member_id : int4 notify_level : notify_level id : int8 occurrence : timestamptz event : event_type member_id : int4 issue_id : int4 state : issue_state initiative_id : int4 draft_id : int8 suggestion_id : int8 ignored_initiative initiative_id : int4 * member_id : int4 * current_draft initiative_id : int4 id : int8 created : timestamptz author_id : int4 formatting_engine : text content : text text_search_data : tsvector issue_comment issue_id : int4 * member_id : int4 * changed : timestamptz formatting_engine : text content : text text_search_data : tsvector member_contingent_left member_id : int4 text_entries_left : int8 initiatives_left : int8 member_count notification_sent contingent system_setting calculated : timestamptz total_count : int4 event_id : int8 time_frame : interval text_entry_limit : int4 initiative_limit : int4 member_ttl : interval member_contingent member_id : int4 time_frame : interval text_entry_count : int8 text_entry_limit : int4 initiative_count : int8 initiative_limit : int4 expired_session member_count_view event_seen_by_member ident : text additional_secret : text expiry : timestamptz member_id : int8 lang : text total_count : int8 seen_by_member_id : int4 notify_level : notify_level id : int8 occurrence : timestamptz event : event_type member_id : int4 issue_id : int4 state : issue_state initiative_id : int4 draft_id : int8 suggestion_id : int8 open_issue id : int4 area_id : int4 policy_id : int4 state : issue_state created : timestamptz accepted : timestamptz half_frozen : timestamptz fully_frozen : timestamptz closed : timestamptz ranks_available : bool cleaned : timestamptz admission_time : interval discussion_time : interval verification_time : interval voting_time : interval snapshot : timestamptz latest_snapshot_event : snapshot_event population : int4 voter_count : int4 status_quo_schulze_rank : int4 battle_participant id : int4 issue_id : int4 timeline_draft occurrence : timestamptz event : timeline_event draft_id : int8 area_delegation area_id : int4 id : int8 truster_id : int4 trustee_id : int4 scope : delegation_scope issue_with_ranks_missing id : int4 area_id : int4 policy_id : int4 state : issue_state created : timestamptz accepted : timestamptz half_frozen : timestamptz fully_frozen : timestamptz closed : timestamptz ranks_available : bool cleaned : timestamptz admission_time : interval discussion_time : interval verification_time : interval voting_time : interval snapshot : timestamptz latest_snapshot_event : snapshot_event population : int4 voter_count : int4 status_quo_schulze_rank : int4 timeline occurrence : timestamptz event : timeline_event issue_id : int4 initiative_id : int4 draft_id : int8 suggestion_id : int8 unit_member_count unit_id : int4 member_count : int8 unit_delegation unit_id : int4 id : int8 truster_id : int4 trustee_id : int4 scope : delegation_scope timeline_issue occurrence : timestamptz event : timeline_event issue_id : int4 liquid_feedback_version string : text major : int4 minor : int4 revision : int4 opening_draft initiative_id : int4 id : int8 created : timestamptz author_id : int4 formatting_engine : text content : text text_search_data : tsvector battle_view issue_id : int4 winning_initiative_id : int4 losing_initiative_id : int4 count : int8

×