X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=sql%2Fschema.dot;h=a5a91392cab6a212482cba5a9e0b396044a4b243;hb=61df0220f9c24a23b834d1fdf64c2a3630e52560;hp=16530d485f274edd1f550fa3e6136fd99df1fa6c;hpb=477ea41b8890c9ffefd9f9b0fb58367492a59de9;p=eq%2F.git diff --git a/sql/schema.dot b/sql/schema.dot index 16530d4..a5a9139 100644 --- a/sql/schema.dot +++ b/sql/schema.dot @@ -2,104 +2,156 @@ 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" + ]; + 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" ]; - elder [ - label = " elder|| name|

phone| email| priesthood| 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|| elder| aaronic| 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| elder| aaronic| 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|| elder| activity" + label = "participation|| individual| activity" shape = "record" ]; - attendance [ - label = "attendance|| elder| date" + interview [ + label = "interview|| interview| interviewer| individual| date| notes| type" shape = "record" ]; - child [ - label = " child|| family| indiv_id| name| birthday| valid" + leader [ + label = "leader|| leader| individual| email| type| valid" shape = "record" - ]; - parent [ - label = "

parent|| family| name| birthday|

phone| address|indiv_id| valid" + ]; + visit [ + label = "visit|| visit| family| companionship| companion1| companion2| date| notes| visited| type" shape = "record" - ]; - aaronic [ - label = " aaronic|| name|

phone| email| valid" + ]; + willingness [ + label = "willingness|| individual| assignment| willing" shape = "record" ]; - appointment [ - label = " appointment||

presidency| family| elder | date| time| uid" + scheduling_priority [ + label = "scheduling_priority|| scheduling_priority|

priority| notes" shape = "record" ]; - assignment [ - label = " assignment|| name| code" + email_list [ + label = "email_list|| email_list| name" shape = "record" ]; - calling [ - label = "calling|| indiv_id| name| organization|

position| sequence| sustained" + email_list_membership [ + label = "email_list_membership|| individual| email_list" shape = "record" ]; - district [ - label = " district|| name| supervisor| valid" + accomplishment [ + label = "accomplishment|| accomplishment| individual| date| task| note" shape = "record" ]; - presidency [ - label = "

presidency|| elder| district| name| email| president| counselor| secreatary| valid" + task [ + label = "task|| task| name| description" shape = "record" ]; - willingness [ - label = " elder|| assignment| willing" + 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:e -> elder:e - companionship:a -> aaronic:a + activity:s -> assignment:a - appointment:e -> elder:e + appointment:l -> leader:l appointment:f -> family:f + appointment:i -> individual:i - interview:e -> elder:e - interview:i -> 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: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:e - visit:c2 -> presidency:e + visit:c1 -> leader:i + visit:c2 -> leader:i - participation:e -> elder:e - participation:a -> activity:a - - 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 + + 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 + }