X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=sql%2Fschema.dot;h=a5a91392cab6a212482cba5a9e0b396044a4b243;hb=61df0220f9c24a23b834d1fdf64c2a3630e52560;hp=fa99b9a0cb2feda823046771b044b42616d4019b;hpb=bf339f318906f8965f5b81e9e4c5eb431f57219a;p=eq%2F.git diff --git a/sql/schema.dot b/sql/schema.dot index fa99b9a..a5a9139 100644 --- a/sql/schema.dot +++ b/sql/schema.dot @@ -2,89 +2,156 @@ digraph schema { graph [ rankdir = "LR" ]; - family [ - label = " family|| hofh_id| name| name_id| indiv_id| companionship| visit_pri| visit_notes| valid" + activity [ + label = "activity|| activity| assignment| date| notes" + shape = "record" + ]; + appointment [ + label = "appointment|| appointment| leader| family| individual | date| time| location| uid" + shape = "record" + ]; + assignment [ + label = "assignment|| assignment| name| abbreviation" + shape = "record" + ]; + attendance [ + label = "attendance|| individual| date" + shape = "record" + ]; + calling [ + label = "calling|| individual| organization|

position| sustained" shape = "record" ]; - indiv [ - label = " indiv|| indiv_id| name| address|

phone| email| family| hh position| priesthood| steward| prospective| ppi_pri| ppi_notes| int_pri| int_notes| attending| valid" + companion [ + label = "companion|| companion| individual| companionship| scheduling_priority| valid" shape = "record" ]; companionship [ - label = " companionship|| indiv| district| valid" + label = "companionship|| companionship| district| type| valid" shape = "record" ]; - visit [ - label = " visit|| family| companionship| companion1| companion2| date| notes| visited| visit_type" + district [ + label = "district|| district| leader| valid" shape = "record" ]; - interview [ - label = " interview|| interviewer| indiv| date| notes| interview_type" + individual [ + label = "individual|| individual| mls_id| name| fullname| address|

phone| email| hh position| priesthood| steward| scheduling_priority| attending| valid" shape = "record" ]; - activity [ - label = " activity|| assignment| date| notes" + family [ + label = "family|| family| individual| companionship| scheduling_priority| valid" shape = "record" ]; participation [ - label = "participation|| indiv| activity" + label = "participation|| individual| activity" shape = "record" ]; - attendance [ - label = "attendance|| indiv| date" + interview [ + label = "interview|| interview| interviewer| individual| date| notes| type" shape = "record" ]; - appointment [ - label = " appointment||

presidency| family| indiv | date| time| location| uid" + leader [ + label = "leader|| leader| individual| email| type| valid" shape = "record" ]; - assignment [ - label = " assignment|| name| code" + visit [ + label = "visit|| visit| family| companionship| companion1| companion2| date| notes| visited| type" shape = "record" ]; - calling [ - label = "calling|| indiv_id| name| organization|

position| sequence| sustained" + willingness [ + label = "willingness|| individual| assignment| willing" shape = "record" ]; - district [ - label = " district|| name| supervisor| valid" + scheduling_priority [ + label = "scheduling_priority|| scheduling_priority|

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

presidency|| indiv| district| name| email| president| counselor| secreatary| valid" + email_list [ + label = "email_list|| email_list| name" shape = "record" ]; - willingness [ - label = " indiv|| 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" + ]; + district_sandbox [ + label = "district_sandbox|| district| leader" + shape = "record" + ]; + companion_sandbox [ + label = "companion_sandbox|| companion| individual| companionship" + shape = "record" + ]; + companionship_sandbox [ + label = "companionship_sandbox|| companionship| tc_companionship| district" + shape = "record" + ]; + family_sandbox [ + label = "family_sandbox|| family| tc_family| individual| companionship" shape = "record" ]; - family:c -> companionship:c - companionship:i -> indiv:i + activity:s -> assignment:a - appointment:i -> indiv:i + appointment:l -> leader:l appointment:f -> family:f + appointment:i -> individual:i - interview:il -> indiv:i - interview:i -> indiv:i + attendance:i -> individual:i + + calling:i -> individual:i - presidency:i -> indiv:i - presidency:d -> district:d + companion:cp -> companionship:c + companion:i -> individual:i + companion:sp -> scheduling_priority:sp - willingness:i -> indiv:i - willingness:a -> assignment:a + companionship:d -> district:d + + district:l -> leader:l + + 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 + + interview:il -> individual:i + interview:i -> individual:i + + leader:i -> individual:i visit:c -> companionship:c visit:f -> family:f - visit:c1 -> presidency:i - visit:c2 -> presidency:i + visit:c1 -> leader:i + visit:c2 -> leader:i - participation:i -> indiv:i - participation:a -> activity:a - - attendance:i -> indiv:i + willingness:i -> individual:i + willingness:a -> assignment:a - indiv:f -> family:f + email_list_membership:i -> individual:i + email_list_membership:e -> email_list:e + + accomplishment:i -> individual:i + accomplishment:t -> task:t + + district_sandbox:l -> leader:l + companion_sandbox:i -> individual:i + companion_sandbox:cp -> companionship_sandbox:cp + companionship_sandbox:tcp -> companionship:c + companionship_sandbox:d -> district_sandbox:d + family_sandbox:tcf -> family:f + family_sandbox:i -> individual:i + family_sandbox:cp -> companionship_sandbox:cp + }