X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=sql%2Fschema.dot;h=fa99b9a0cb2feda823046771b044b42616d4019b;hb=bf339f318906f8965f5b81e9e4c5eb431f57219a;hp=641e87501de54fa1247c628cd14f01b0d6e5abad;hpb=3922955bdc5c67d0ad7485288016754aa981b280;p=eq%2F.git diff --git a/sql/schema.dot b/sql/schema.dot index 641e875..fa99b9a 100644 --- a/sql/schema.dot +++ b/sql/schema.dot @@ -3,23 +3,23 @@ digraph schema { rankdir = "LR" ]; family [ - label = " family|| companionship| name_id| hofh_id| elder_id| visit_pri| visit_notes| valid" + label = " family|| hofh_id| name| name_id| indiv_id| companionship| visit_pri| visit_notes| valid" shape = "record" ]; - elder [ - label = " elder|| name|

phone| email| priesthood| ppi_pri| ppi_notes| int_pri| int_notes| attending| valid" + 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" shape = "record" ]; companionship [ - label = " companionship|| elder| aaronic| district| valid" + label = " companionship|| indiv| district| valid" shape = "record" ]; visit [ - label = " visit|| family| companionship| date| notes| visited" + label = " visit|| family| companionship| companion1| companion2| date| notes| visited| visit_type" shape = "record" ]; - ppi [ - label = "

ppi|| interviewer| elder| date| notes|

eqpresppi" + interview [ + label = " interview|| interviewer| indiv| date| notes| interview_type" shape = "record" ]; activity [ @@ -27,27 +27,15 @@ digraph schema { shape = "record" ]; participation [ - label = "participation|| elder| activity" + label = "participation|| indiv| activity" shape = "record" ]; attendance [ - label = "attendance|| elder| date" - shape = "record" - ]; - child [ - label = " child|| family| indiv_id| name| birthday| valid" - shape = "record" - ]; - parent [ - label = "

parent|| family| name| birthday|

phone| address|indiv_id| valid" - shape = "record" - ]; - aaronic [ - label = " aaronic|| name|

phone| email| valid" + label = "attendance|| indiv| date" shape = "record" ]; appointment [ - label = " appointment||

presidency| family| elder | date| time| uid" + label = " appointment||

presidency| family| indiv | date| time| location| uid" shape = "record" ]; assignment [ @@ -62,49 +50,41 @@ digraph schema { label = " district|| name| supervisor| valid" shape = "record" ]; - interview [ - label = " interview|| interviewer| elder| aaronic| date| notes" - shape = "record" - ]; presidency [ - label = "

presidency|| elder| district| name| email| president| counselor| secreatary| valid" + label = "

presidency|| indiv| district| name| email| president| counselor| secreatary| valid" shape = "record" ]; willingness [ - label = " elder|| assignment| willing" + label = " indiv|| assignment| willing" shape = "record" ]; family:c -> companionship:c - companionship:e -> elder:e - companionship:a -> aaronic:a + companionship:i -> indiv:i - appointment:e -> elder:e + appointment:i -> indiv:i appointment:f -> family:f - interview:e -> elder:e - interview:in -> elder:e - interview:a -> aaronic:a + interview:il -> indiv:i + interview:i -> indiv:i - presidency:e -> elder:e + presidency:i -> indiv:i presidency:d -> district:d - willingness:e -> elder:e + willingness:i -> indiv:i willingness:a -> assignment:a activity:s -> assignment:a visit:c -> companionship:c visit:f -> family:f + visit:c1 -> presidency:i + visit:c2 -> presidency:i - ppi:i -> elder:e - ppi:e -> elder:e - - participation:e -> elder:e + participation:i -> indiv:i participation:a -> activity:a - attendance:e -> elder:e + attendance:i -> indiv:i - child:f -> family:f - parent:f -> family:f + indiv:f -> family:f }