X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=sql%2Fschema.dot;h=8435656f5f7042ad06d6fdc4b7f645272192e714;hb=abf09ae712c55d6e251ffd4a89dc63faa64b971a;hp=99fb6c422a2ae8389ba03f37933e82d126b03223;hpb=82963f2191eff35b295440782e4309ea3632cf55;p=eq%2F.git diff --git a/sql/schema.dot b/sql/schema.dot index 99fb6c4..8435656 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| ppi_pri| ppi_notes| int_pri| int_notes| attending| valid" + indiv [ + label = " indiv|| indiv_id| name|

phone| email| priesthood| prospective| ppi_pri| ppi_notes| int_pri| int_notes| attending| valid" shape = "record" ]; companionship [ - label = " companionship|| elder| aaronic| district| valid" + label = " companionship|| indiv| aaronic| 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| aaronic| date| notes| interview_type" shape = "record" ]; activity [ @@ -27,15 +27,15 @@ digraph schema { shape = "record" ]; participation [ - label = "participation|| elder| activity" + label = "participation|| indiv| activity" shape = "record" ]; attendance [ - label = "attendance|| elder| date" + label = "attendance|| indiv| date" shape = "record" ]; child [ - label = " child|| family| indiv_id| name| birthday| valid" + label = " child|| family| name| birthday| indiv_id| valid" shape = "record" ]; parent [ @@ -43,11 +43,11 @@ digraph schema { shape = "record" ]; aaronic [ - label = " aaronic|| name|

phone| valid" + label = " aaronic|| name|

phone| email| valid" shape = "record" ]; appointment [ - label = " appointment||

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

presidency| family| indiv | date| time| location| uid" shape = "record" ]; assignment [ @@ -62,48 +62,43 @@ 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:i -> indiv:i companionship:a -> aaronic:a - appointment:e -> elder:e + appointment:i -> indiv:i appointment:f -> family:f - interview:e -> elder:e - interview:in -> elder:e + interview:il -> indiv:i + interview:i -> indiv:i interview:a -> aaronic:a - 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