X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;ds=sidebyside;f=sql%2Fschema.dot;h=a5a91392cab6a212482cba5a9e0b396044a4b243;hb=61df0220f9c24a23b834d1fdf64c2a3630e52560;hp=b5d91fa23ca65badf8787ec5dc7a23017df2535f;hpb=618c7a09c5e0b99ca1ef5381aa2349802d11098b;p=eq%2F.git diff --git a/sql/schema.dot b/sql/schema.dot index b5d91fa..a5a9139 100644 --- a/sql/schema.dot +++ b/sql/schema.dot @@ -7,7 +7,7 @@ digraph schema { shape = "record" ]; appointment [ - label = "appointment|| appointment|

presidency| family| individual | date| time| location| uid" + label = "appointment|| appointment| leader| family| individual | date| time| location| uid" shape = "record" ]; assignment [ @@ -19,19 +19,23 @@ digraph schema { shape = "record" ]; calling [ - label = "calling|| name| organization|

position| sustained" + label = "calling|| individual| organization|

position| sustained" + shape = "record" + ]; + companion [ + label = "companion|| companion| individual| companionship| scheduling_priority| valid" shape = "record" ]; companionship [ - label = "companionship|| companionship| individual| district| scheduling_priority| valid" + label = "companionship|| companionship| district| type| valid" shape = "record" ]; district [ - label = "district|| district| name| supervisor| valid" + label = "district|| district| leader| valid" shape = "record" ]; individual [ - label = "individual|| individual| mls_id| name| address|

phone| email| hh position| priesthood| steward| scheduling_priority| attending| valid" + label = "individual|| individual| mls_id| name| fullname| address|

phone| email| hh position| priesthood| steward| scheduling_priority| attending| valid" shape = "record" ]; family [ @@ -43,15 +47,15 @@ digraph schema { shape = "record" ]; interview [ - label = "interview|| interview| interviewer| individual| date| notes| interview_type" + label = "interview|| interview| interviewer| individual| date| notes| type" shape = "record" ]; - presidency [ - label = "presidency||

presidency|| individual| district| email| president| counselor| secreatary| valid" + leader [ + label = "leader|| leader| individual| email| type| valid" shape = "record" ]; visit [ - label = "visit|| visit| family| companionship| companion1| companion2| date| notes| visited| visit_type" + label = "visit|| visit| family| companionship| companion1| companion2| date| notes| visited| type" shape = "record" ]; willingness [ @@ -78,20 +82,40 @@ digraph schema { 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" + ]; activity:s -> assignment:a - appointment:p -> presidency:p + appointment:l -> leader:l appointment:f -> family:f appointment:i -> individual:i attendance:i -> individual:i + + calling:i -> individual:i + + companion:cp -> companionship:c + companion:i -> individual:i + companion:sp -> scheduling_priority:sp - companionship:i -> individual:i companionship:d -> district:d - companionship:sp -> scheduling_priority:sp - district:s -> individual:i + district:l -> leader:l individual:sp -> scheduling_priority:sp @@ -105,13 +129,12 @@ digraph schema { interview:il -> individual:i interview:i -> individual:i - presidency:i -> individual:i - presidency:d -> district:d + 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 willingness:i -> individual:i willingness:a -> assignment:a @@ -121,5 +144,14 @@ digraph schema { 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 }