X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=sql%2Fschema.dot;h=9fb24285cf092e8e83c9a9d1308bd57f62c3e12e;hb=53b9dc59fa5aabe9c55b109d158c5db379955013;hp=641e87501de54fa1247c628cd14f01b0d6e5abad;hpb=3922955bdc5c67d0ad7485288016754aa981b280;p=eq%2F.git diff --git a/sql/schema.dot b/sql/schema.dot index 641e875..9fb2428 100644 --- a/sql/schema.dot +++ b/sql/schema.dot @@ -2,109 +2,132 @@ digraph schema { graph [ rankdir = "LR" ]; - family [ - label = " family|| companionship| name_id| hofh_id| elder_id| visit_pri| visit_notes| valid" + activity [ + label = "activity|| activity| assignment| date| notes" shape = "record" ]; - elder [ - label = " elder|| name|

presidency| family| individual | date| time| location| uid" shape = "record" ]; - companionship [ - label = " companionship|| elder| aaronic| district| valid" + assignment [ + label = "assignment|| assignment| name| abbreviation" shape = "record" ]; - visit [ - label = " visit|| family| companionship| date| notes| visited" + attendance [ + label = "attendance|| individual| date" shape = "record" ]; - ppi [ - label = "

ppi|| interviewer| elder| date| notes|

eqpresppi" + calling [ + label = "calling|| individual| organization|

position| sustained" shape = "record" ]; - activity [ - label = " activity|| assignment| date| notes" + companion [ + label = "companion|| companion| individual| companionship| scheduling_priority| valid" shape = "record" ]; - participation [ - label = "participation|| elder| activity" + companionship [ + label = "companionship|| companionship| district| valid" shape = "record" ]; - attendance [ - label = "attendance|| elder| date" + district [ + label = "district|| district| supervisor| valid" shape = "record" ]; - child [ - label = " child|| family| indiv_id| name| birthday| valid" + individual [ + label = "individual|| individual| mls_id| name| fullname| address|

phone| email| hh position| priesthood| steward| scheduling_priority| attending| valid" shape = "record" - ]; - parent [ - label = "

parent|| family| name| birthday|

phone| address|indiv_id| valid" + ]; + family [ + label = "family|| family| individual| companionship| scheduling_priority| valid" shape = "record" - ]; - aaronic [ - label = " aaronic|| name|

phone| email| valid" + ]; + participation [ + label = "participation|| individual| activity" shape = "record" ]; - appointment [ - label = " appointment||

presidency| family| elder | date| time| uid" + interview [ + label = "interview|| interview| interviewer| individual| date| notes| interview_type" shape = "record" ]; - assignment [ - label = " assignment|| name| code" + presidency [ + label = "presidency||

presidency| individual| district| email| president| counselor| secreatary| valid" shape = "record" ]; - calling [ - label = "calling|| indiv_id| name| organization|

position| sequence| sustained" + visit [ + label = "visit|| visit| family| companionship| companion1| companion2| date| notes| visited| visit_type" shape = "record" ]; - district [ - label = " district|| name| supervisor| valid" + willingness [ + label = "willingness|| individual| assignment| willing" shape = "record" ]; - interview [ - label = " interview|| interviewer| elder| aaronic| date| notes" + scheduling_priority [ + label = "scheduling_priority|| scheduling_priority|

priority| notes" shape = "record" ]; - presidency [ - label = "

presidency|| elder| district| name| email| president| counselor| secreatary| valid" + email_list [ + label = "email_list|| email_list| name" shape = "record" ]; - willingness [ - label = " elder|| assignment| willing" + email_list_membership [ + label = "email_list_membership|| individual| email_list" + shape = "record" + ]; + accomplishment [ + label = "accomplishment|| accomplishment| individual| date| task| note" + shape = "record" + ]; + task [ + label = "task|| task| name| description" shape = "record" ]; - family:c -> companionship:c - companionship:e -> elder:e - companionship:a -> aaronic:a + activity:s -> assignment:a - appointment:e -> elder:e + appointment:p -> presidency:p appointment:f -> family:f + appointment:i -> individual:i - interview:e -> elder:e - interview:in -> elder:e - interview:a -> aaronic:a + attendance:i -> individual:i + + calling:i -> individual:i - presidency:e -> elder:e - presidency:d -> district:d + companion:cp -> companionship:c + companion:i -> individual:i + companion:sp -> scheduling_priority:sp - willingness:e -> elder:e - willingness:a -> assignment:a + companionship:d -> district:d + + district:s -> individual:i + + individual:sp -> scheduling_priority:sp + + family:i -> individual:i + family:c -> companionship:c + family:sp -> scheduling_priority:sp - activity:s -> assignment:a + participation:i -> individual:i + participation:a -> activity:a - visit:c -> companionship:c - visit:f -> family:f + interview:il -> individual:i + interview:i -> individual:i - ppi:i -> elder:e - ppi:e -> elder:e + presidency:i -> individual:i + presidency:d -> district:d - participation:e -> elder:e - participation:a -> activity:a + visit:c -> companionship:c + visit:f -> family:f + visit:c1 -> presidency:i + visit:c2 -> presidency:i - attendance:e -> elder:e + willingness:i -> individual:i + willingness:a -> assignment:a - child:f -> family:f - parent:f -> family:f + email_list_membership:i -> individual:i + email_list_membership:e -> email_list:e + + accomplishment:i -> individual:i + accomplishment:t -> task:t + }

phone| email| priesthood| ppi_pri| ppi_notes| int_pri| int_notes| attending| valid" + appointment [ + label = "appointment|| appointment|