Changes between Version 32 and Version 33 of DBModel


Ignore:
Timestamp:
02/20/10 03:41:53 (15 years ago)
Author:
Vangel Ajanovski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DBModel

    v32 v33  
    1616#!graphviz
    1717digraph G {
    18 node [ shape = "record" fontname = "Helvetica" ]
    19 n1097 [ label="{ program | #program_id\l plan_id\l code\l title\l title_en\l terms\l note }"]
    20 n1109 [ label="{ degree | #degree_id\l institution_id\l code\l title\l title_en\l terms\l note }"]
    21 n1119 [ label="{ subject | #subject_id\l institution_id\l code\l title\l title_en\l abstract\l note}"]
    22 n1129 [ label="{ program_degree | #program_degree_id\l program_id\l degree_id\l }"]
    23 n1136 [ label="{ curriculum | #curriculum_id\l program_id\l subject_id\l term\l term_ordinal\l subject_title\l module_type_id\l exam_type_id\l lecture\l tutorial\l laboratory\l instruction\l individual\l credits\l }"]
    24 n1156 [ label="{ curriculum_link | #curriculum_link_id\l curriculum_id\l link_type_id\l }"]
    25 n1166 [ label="{ link_type | #link_type_id\l code\l title\l title_en\l note\l }"]
    26 n1173 [ label="{ module_type | #module_type_id\l code\l title\l title_en\l note\l }"]
    27 n1180 [ label="{ exam_type | #exam_type_id\l code\l title\l title_en\l writen\l oral\l practical\l note\l }"]
    28 n1190 [ label="{ curriculum_instruction | #curriculum_instruction_id\l instruction_type_id\l curriculum_id\l per_week\l hours\l }"]
    29 n1200 [ label="{ instruction_type | #instruction_type_id\l code\l title\l title_en\l note\l }"]
    30 n1207 [ label="{ program_enrollment | #program_enrollment_id\l program_id\l student_id\l }"]
    31 n1214 [ label="{ term | #term_id\l term_type_id\l institution_id\l term_year\l term_from\l term_to\l note\l belowminimum_credits\l minimum_credits\l maximum_credits\l }"]
    32 n1220 [ label="{ term_program | #term_program_id\l term_id\l program_id\l }"]
    33 n1227 [ label="{ term_subject | #term_subject_id\l subject_id\l term_id\l enroll_deadline\l cancel_deadline\l }"]
    34 n1234 [ label="{ course | #course_id\l url\l moodle\l }"]
    35 n1242 [ label="{ course_curriculum | #course_curriculum_id\l curriculum_link_id\l course_id\l term_program_id\l grade_allow\l }"]
    36 n1253 [ label="{ course_instructor | #course_instructor_id\l course_id\l instructor_id\l }"]
    37 n1262 [ label="{ term_enrollment | #term_enrollment_id\l term_program_id\l program_enrollment_id\l enrollment_status\l note\l }"]
    38 n1270 [ label="{ course_enrollment | #course_enrollment_id\l subject_enrollment_id\l course_curriculum_id\l grade\l }"]
    39 n1281 [ label="{ course_curriculum_instruction | #coursecurr_instruction_id\l curriculum_instruction_id\l course_curriculum_id\l course_instructor_id\l }"]
    40 n1294 [ label="{ assessment | #assessment_id\l assessment_type_id\l grade\l points\l credit\l description\l note\l }"]
    41 n1304 [ label="{ student_assessment | #student_assessment_id\l program_enrollment_id\l assessment_id\l }"]
    42 n1312 [ label="{ curriculum_assessment | #curriculum_assessment_id\l curriculum_link_id\l student_assessment_id\l }"]
    43 n1322 [ label="{ course_assessment | #course_assessment_id\l activity_assessment_id\l curriculum_assessment_id\l student_activity_id\l }"]
    44 n1336 [ label="{ student_activity | #student_activity_id\l course_activity_id\l course_enrollment_id\l }"]
    45 n1348 [ label="{ activity_type | #activity_type_id\l code\l title\l title_en\l note\l }"]
    46 n1355 [ label="{ schedule | #schedule_id\l institution_id\l }"]
    47 n1361 [ label="{ formation | #formation_id\l instruction_schedule_id\l }"]
    48 n1369 [ label="{ slot | #slot_id\l schedule_id\l facility_id\l }"]
    49 n1378 [ label="{ formation_student | #formation_student_id\l formation_id\l term_enrollment_id\l }"]
    50 n1388 [ label="{ event | #event_id\l schedule_id\l event_type_id\l }"]
    51 n1397 [ label="{ event_type | #event_type_id\l code\l title\l title_en\l note\l }"]
    52 n1404 [ label="{ event_formation | #event_formation_id\l event_id\l formation_id\l }"]
    53 n1413 [ label="{ event_slot | #event_slod_id\l event_id\l slot_id\l }"]
    54 n1422 [ label="{ subject_event | #subject_event_id\l subject_id\l event_id\l }"]
    55 n1430 [ label="{ instruction_schedule | #instruction_schedule_id\l schedule_id\l term_id\l }"]
    56 n1008 [ label="{ institution | #institution_id\l parent_institution_id\l institution_type_id\l code\l title\l title_en\l note\l }"]
    57 n1019 [ label="{ institution_type | #institution_type_id\l code\l title\l title_en\l host_programs\l note\l }"]
    58 n1027 [ label="{ person | #person_id\l embg\l first_name\l middle_name\l last_name\l gender\l birth_date\l birth_place\l birth_province\l birth_country\l nationality\l residence_address\l residence_place\l residence_province\l residence_country\l phone_home\l phone_mobile\l email\l picture\l public_key\l username\l }"]
    59 n1049 [ label="{ student | #student_id\l institution_id\l person_id\l status_2\l }"]
    60 n1057 [ label="{ instructor | #instructor_id\l person_id\l institution_id\l from_date\l to_date\l }"]
    61 n1064 [ label="{ facility | #facility_id\l parent_facility_id\l institution_id\l facility_type_id\l code\l title\l title_en\l note\l }"]
    62 n1077 [ label="{ facility_type | #facility_type_id\l code\l title\l title_en\l host_event\l note\l }"]
    63 n1085 [ label="{ plan | #plan_id\l institution_id\l code\l title\l title_en\l start_term\l end_term\l note\l }"]
    64 n1437 [ label="{ course_event | #course_event_id\l course_id\l instruction_event_id\l subject_event_id\l }"]
    65 n1448 [ label="{ instruction_event | #instruction_event_id\l event_id\l instruction_schedule_id\l instruction_type_id\l instructor_id\l }"]
    66 n1460 [ label="{ session_schedule | #exam_session_schedule_id\l exam_session_id\l schedule_id\l }"]
    67 n1467 [ label="{ exam_event | #exam_event_id\l exam_id\l subject_event_id\l exam_session_schedule_id\l }"]
    68 n1478 [ label="{ activity | #activity_id\l activity_type_id\l }"]
    69 n1483 [ label="{ assessment_type | #assessment_type_id\l code\l title\l title_en\l grade\l points\l credit\l note\l }"]
    70 n1493 [ label="{ course_activity | #course_activity_id\l activity_id\l course_id\l }"]
    71 n1502 [ label="{ exam | #exam_id\l activity_id\l exam_session_id\l subject_id\l }"]
    72 n1512 [ label="{ exam_session | #exam_session_id\l term_id\l }"]
    73 n1519 [ label="{ exam_application | #exam_application_id\l exam_id\l student_activity_id\l }"]
    74 n1532 [ label="{ activity_assessment | #activity_assessment_id\l assessment_id\l course_activity_id\l }"]
    75 n1542 [ label="{ country | #country_id\l code\l code_short\l title\l title_en\l }"]
    76 n1549 [ label="{ language | #language_id\l code\l title\l title_en\l }"]
    77 n1555 [ label="{ country_language | #country_language_id\l country_id\l language_id\l official\l }"]
    78 n1562 [ label="{ province | #province_id\l country_id\l code\l title\l title_en\l }"]
    79 n1570 [ label="{ payment_type | #payment_type_id\l title\l note\l }"]
    80 n1575 [ label="{ document_type | #document_type_id\l title\l title_en\l note\l }"]
    81 n1581 [ label="{ account | #account_id\l institution_id\l payment_type_id\l pay_institution_id\l code\l title\l active\l valid_from\l valid_to\l note\l }"]
    82 n1597 [ label="{ document_type_account | #document_type_account_id\l document_type_id\l account_id\l active\l valid_from\l valid_to\l }"]
    83 n1607 [ label="{ document | #document_id\l institution_id\l document_type_id\l author_person_id\l created\l archive_number\l doc_content\l note\l hash\l signature\l }"]
    84 n1622 [ label="{ document_student | #document_student_id\l document_id\l student_id\l }"]
    85 n1629 [ label="{ ledger | #ledger_id\l document_student_id\l account_id\l state\l created\l effective\l debit_amount\l credit_amount\l debit_point\l credit_point\l }"]
    86 n1645 [ label="{ attachment | #attachment_id\l document_id\l note\l attach_content\l }"]
    87 n1654 [ label="{ subject_enrollment | #subject_enrollment_id\l termsubject_currlink_id\l term_enrollment_id\l }"]
    88 n1663 [ label="{ document_program | #document_program_id\l program_enrollment_id\l document_student_id\l }"]
    89 n1671 [ label="{ document_term | #document_term_id\l term_enrollment_id\l document_program_id\l }"]
    90 n1680 [ label="{ document_course | #document_course_id\l document_term_id\l course_enrollment_id\l }"]
    91 n1692 [ label="{ ledger_link | #ledger_link_id\l ledger_id\l link_ledger_id\l amount\l points\l }"]
    92 n2042 [ label="{ term_subject_curriculum_link | #termsubject_currlink_id\l curriculum_link_id\l term_subject_id\l }"]
    93 n2085 [ label="{ staff | #staff_id\l person_id\l role_type_id\l institution_id\l from_date\l to_date\l }"]
    94 n2096 [ label="{ role_type | #role_type_id\l code\l title\l title_en\l abstract\l note\l }"]
    95 n2116 [ label="{ term_type | #term_type_id\l code\l title\l title_en\l abstract\l note\l }"]
    96 n2414 [ label="{ course_term_subject_curriculum_link | termsubject_currlink_id\l course_id\l }"]
     18
     19node [ shape = "record" ]
     20n1008 [ label="{ institution| #institution_id\lparent_institution_id\linstitution_type_id\lcode\ltitle\ltitle_en\lnote\l }"]
     21n1019 [ label="{ institution_type| #institution_type_id\lcode\ltitle\ltitle_en\lhost_programs\lnote\l }"]
     22n1027 [ label="{ person| #person_id\lembg\lfirst_name\lmiddle_name\llast_name\lgender\lbirth_date\lbirth_place\lbirth_province\lbirth_country\lnationality\lresidence_address\lresidence_place\lresidence_province\lresidence_country\lphone_home\lphone_mobile\lemail\lpicture\lpublic_key\lusername\l }"]
     23n1049 [ label="{ student| #student_id\linstitution_id\lperson_id\lstatus_2\l }"]
     24n1057 [ label="{ instructor| #instructor_id\lperson_id\linstitution_id\lfrom_date\lto_date\l }"]
     25n1064 [ label="{ facility| #facility_id\lparent_facility_id\linstitution_id\lfacility_type_id\lcode\ltitle\ltitle_en\lnote\l }"]
     26n1077 [ label="{ facility_type| #facility_type_id\lcode\ltitle\ltitle_en\lhost_event\lnote\l }"]
     27n1085 [ label="{ plan| #plan_id\linstitution_id\lcode\ltitle\ltitle_en\lstart_term\lend_term\lnote\l }"]
     28n1097 [ label="{ program| #program_id\lplan_id\lcode\ltitle\ltitle_en\lterms\lnote\l }"]
     29n1109 [ label="{ degree| #degree_id\linstitution_id\lcode\ltitle\ltitle_en\lterms\lnote\l }"]
     30n1119 [ label="{ subject| #subject_id\linstitution_id\lcode\ltitle\ltitle_en\labstract\lnote\l }"]
     31n1129 [ label="{ program_degree| #program_degree_id\lprogram_id\ldegree_id\l }"]
     32n1136 [ label="{ curriculum| #curriculum_id\lprogram_id\lsubject_id\lterm\lterm_ordinal\lsubject_title\lmodule_type_id\lexam_type_id\llecture\ltutorial\llaboratory\linstruction\lindividual\lcredits\l }"]
     33n1156 [ label="{ curriculum_link| #curriculum_link_id\lcurriculum_id\llink_type_id\l }"]
     34n1166 [ label="{ link_type| #link_type_id\lcode\ltitle\ltitle_en\lnote\l }"]
     35n1173 [ label="{ module_type| #module_type_id\lcode\ltitle\ltitle_en\lnote\l }"]
     36n1180 [ label="{ exam_type| #exam_type_id\lcode\ltitle\ltitle_en\lwriten\loral\lpractical\lnote\l }"]
     37n1190 [ label="{ curriculum_instruction| #curriculum_instruction_id\linstruction_type_id\lcurriculum_id\lper_week\lhours\l }"]
     38n1200 [ label="{ instruction_type| #instruction_type_id\lcode\ltitle\ltitle_en\lnote\l }"]
     39n1207 [ label="{ program_enrollment| #program_enrollment_id\lprogram_id\lstudent_id\l }"]
     40n1214 [ label="{ term| #term_id\lterm_type_id\linstitution_id\lterm_year\lterm_from\lterm_to\lnote\lbelowminimum_credits\lminimum_credits\lmaximum_credits\l }"]
     41n1220 [ label="{ term_program| #term_program_id\lterm_id\lprogram_id\l }"]
     42n1227 [ label="{ term_subject| #term_subject_id\lsubject_id\lterm_id\lenroll_deadline\lcancel_deadline\l }"]
     43n1234 [ label="{ course| #course_id\lurl\lmoodle\l }"]
     44n1242 [ label="{ course_curriculum| #course_curriculum_id\lcurriculum_link_id\lcourse_id\lterm_program_id\lgrade_allow\l }"]
     45n1253 [ label="{ course_instructor| #course_instructor_id\lcourse_id\linstructor_id\l }"]
     46n1262 [ label="{ term_enrollment| #term_enrollment_id\lterm_program_id\lprogram_enrollment_id\lenrollment_status\lnote\l }"]
     47n1270 [ label="{ course_enrollment| #course_enrollment_id\lsubject_enrollment_id\lcourse_curriculum_id\lgrade\l }"]
     48n1281 [ label="{ course_curriculum_instruction| #coursecurr_instruction_id\lcurriculum_instruction_id\lcourse_curriculum_id\lcourse_instructor_id\l }"]
     49n1294 [ label="{ assessment| #assessment_id\lassessment_type_id\lgrade\lpoints\lcredit\ldescription\lnote\l }"]
     50n1304 [ label="{ student_assessment| #student_assessment_id\lprogram_enrollment_id\lassessment_id\l }"]
     51n1312 [ label="{ curriculum_assessment| #curriculum_assessment_id\lcurriculum_link_id\lstudent_assessment_id\l }"]
     52n1322 [ label="{ course_assessment| #course_assessment_id\lactivity_assessment_id\lcurriculum_assessment_id\lstudent_activity_id\l }"]
     53n1336 [ label="{ student_activity| #student_activity_id\lcourse_activity_id\lcourse_enrollment_id\l }"]
     54n1348 [ label="{ activity_type| #activity_type_id\lcode\ltitle\ltitle_en\lnote\l }"]
     55n1355 [ label="{ schedule| #schedule_id\linstitution_id\l }"]
     56n1361 [ label="{ formation| #formation_id\linstruction_schedule_id\l }"]
     57n1369 [ label="{ slot| #slot_id\lschedule_id\lfacility_id\l }"]
     58n1378 [ label="{ formation_student| #formation_student_id\lformation_id\lterm_enrollment_id\l }"]
     59n1388 [ label="{ event| #event_id\lschedule_id\levent_type_id\l }"]
     60n1397 [ label="{ event_type| #event_type_id\lcode\ltitle\ltitle_en\lnote\l }"]
     61n1404 [ label="{ event_formation| #event_formation_id\levent_id\lformation_id\l }"]
     62n1413 [ label="{ event_slot| #event_slod_id\levent_id\lslot_id\l }"]
     63n1422 [ label="{ subject_event| #subject_event_id\lsubject_id\levent_id\l }"]
     64n1430 [ label="{ instruction_schedule| #instruction_schedule_id\lschedule_id\lterm_id\l }"]
     65n1437 [ label="{ course_event| #course_event_id\lcourse_id\linstruction_event_id\lsubject_event_id\l }"]
     66n1448 [ label="{ instruction_event| #instruction_event_id\levent_id\linstruction_schedule_id\linstruction_type_id\linstructor_id\l }"]
     67n1460 [ label="{ session_schedule| #exam_session_schedule_id\lexam_session_id\lschedule_id\l }"]
     68n1467 [ label="{ exam_event| #exam_event_id\lexam_id\lsubject_event_id\lexam_session_schedule_id\l }"]
     69n1478 [ label="{ activity| #activity_id\lactivity_type_id\l }"]
     70n1483 [ label="{ assessment_type| #assessment_type_id\lcode\ltitle\ltitle_en\lgrade\lpoints\lcredit\lnote\l }"]
     71n1493 [ label="{ course_activity| #course_activity_id\lactivity_id\lcourse_id\l }"]
     72n1502 [ label="{ exam| #exam_id\lactivity_id\lexam_session_id\lsubject_id\l }"]
     73n1512 [ label="{ exam_session| #exam_session_id\lterm_id\l }"]
     74n1519 [ label="{ exam_application| #exam_application_id\lexam_id\lstudent_activity_id\l }"]
     75n1532 [ label="{ activity_assessment| #activity_assessment_id\lassessment_id\lcourse_activity_id\l }"]
     76n1542 [ label="{ country| #country_id\lcode\lcode_short\ltitle\ltitle_en\l }"]
     77n1549 [ label="{ language| #language_id\lcode\ltitle\ltitle_en\l }"]
     78n1555 [ label="{ country_language| #country_language_id\lcountry_id\llanguage_id\lofficial\l }"]
     79n1562 [ label="{ province| #province_id\lcountry_id\lcode\ltitle\ltitle_en\l }"]
     80n1570 [ label="{ payment_type| #payment_type_id\ltitle\lnote\l }"]
     81n1575 [ label="{ document_type| #document_type_id\ltitle\ltitle_en\lnote\l }"]
     82n1581 [ label="{ account| #account_id\linstitution_id\lpayment_type_id\lpay_institution_id\lcode\ltitle\lactive\lvalid_from\lvalid_to\lnote\l }"]
     83n1597 [ label="{ document_type_account| #document_type_account_id\ldocument_type_id\laccount_id\lactive\lvalid_from\lvalid_to\l }"]
     84n1607 [ label="{ document| #document_id\linstitution_id\ldocument_type_id\lauthor_person_id\lcreated\larchive_number\ldoc_content\lnote\lhash\lsignature\l }"]
     85n1622 [ label="{ document_student| #document_student_id\ldocument_id\lstudent_id\l }"]
     86n1629 [ label="{ ledger| #ledger_id\ldocument_student_id\laccount_id\lstate\lcreated\leffective\ldebit_amount\lcredit_amount\ldebit_point\lcredit_point\l }"]
     87n1645 [ label="{ attachment| #attachment_id\ldocument_id\lnote\lattach_content\l }"]
     88n1654 [ label="{ subject_enrollment| #subject_enrollment_id\ltermsubject_currlink_id\lterm_enrollment_id\l }"]
     89n1663 [ label="{ document_program| #document_program_id\lprogram_enrollment_id\ldocument_student_id\l }"]
     90n1671 [ label="{ document_term| #document_term_id\lterm_enrollment_id\ldocument_program_id\l }"]
     91n1680 [ label="{ document_course| #document_course_id\ldocument_term_id\lcourse_enrollment_id\l }"]
     92n1692 [ label="{ ledger_link| #ledger_link_id\lledger_id\llink_ledger_id\lamount\lpoints\l }"]
     93n2042 [ label="{ term_subject_curriculum_link| #termsubject_currlink_id\lcurriculum_link_id\lterm_subject_id\l }"]
     94n2085 [ label="{ staff| #staff_id\lperson_id\lrole_type_id\linstitution_id\lfrom_date\lto_date\l }"]
     95n2096 [ label="{ role_type| #role_type_id\lcode\ltitle\ltitle_en\labstract\lnote\l }"]
     96n2116 [ label="{ term_type| #term_type_id\lcode\ltitle\ltitle_en\labstract\lnote\l }"]
     97n2414 [ label="{ course_term_subject_curriculum_link| termsubject_currlink_id\lcourse_id\l }"]
    9798n1008 -> n1008
    9899n1008 -> n1019
     
    222223n2414 -> n2042
    223224
     225
    224226}
    225227}}}