X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=sql%2Fschema.dot;h=37c0463aa2eccaf236571cfccd5268c60d101073;hb=b5c74cd3f678ed412df81cda7f8f77344d374d7a;hp=9fb24285cf092e8e83c9a9d1308bd57f62c3e12e;hpb=53b9dc59fa5aabe9c55b109d158c5db379955013;p=eq%2F.git diff --git a/sql/schema.dot b/sql/schema.dot index 9fb2428..37c0463 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 [ @@ -27,11 +27,11 @@ digraph schema { shape = "record" ]; companionship [ - label = "companionship|| companionship| district| valid" + label = "companionship|| companionship| district| type| valid" shape = "record" ]; district [ - label = "district|| district| supervisor| valid" + label = "district|| district| leader| valid" shape = "record" ]; individual [ @@ -47,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| district| 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 [ @@ -82,10 +82,26 @@ 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 @@ -99,7 +115,7 @@ digraph schema { companionship:d -> district:d - district:s -> individual:i + district:l -> individual:i individual:sp -> scheduling_priority:sp @@ -113,13 +129,13 @@ digraph schema { interview:il -> individual:i interview:i -> individual:i - presidency:i -> individual:i - presidency:d -> district:d + leader:i -> individual:i + leader:d -> district:d 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 @@ -129,5 +145,14 @@ digraph schema { accomplishment:i -> individual:i accomplishment:t -> task:t + + district_sandbox:l -> individual:i + 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 }