X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=sql%2Fschema.dot;h=8435656f5f7042ad06d6fdc4b7f645272192e714;hb=abf09ae712c55d6e251ffd4a89dc63faa64b971a;hp=16530d485f274edd1f550fa3e6136fd99df1fa6c;hpb=477ea41b8890c9ffefd9f9b0fb58367492a59de9;p=eq%2F.git diff --git a/sql/schema.dot b/sql/schema.dot index 16530d4..8435656 100644 --- a/sql/schema.dot +++ b/sql/schema.dot @@ -3,15 +3,15 @@ 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| prospective| 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 [ @@ -19,7 +19,7 @@ digraph schema { shape = "record" ]; interview [ - label = " interview|| interviewer| elder| aaronic| date| notes| interview_type" + 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 [ @@ -47,7 +47,7 @@ digraph schema { shape = "record" ]; appointment [ - label = " appointment||

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

presidency| family| indiv | date| time| location| uid" shape = "record" ]; assignment [ @@ -63,42 +63,42 @@ digraph schema { 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:i -> 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:e - visit:c2 -> presidency:e + visit:c1 -> presidency:i + visit:c2 -> presidency:i - 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