Files
pfm/Documentation/ERD.erd
T

1 line
30 KiB
Plaintext

<diagram version="1" name="empty" time="202610240914"><entities><data-source id="postgres-jdbc-19e7e2e5ab5-1629ea1cc0c40c3e"><entity id="1" name="Activities" fq-name="public.&quot;Activities&quot;" order="0" x="700" y="2560"><path name="public"/><path name="pfm"/></entity><entity id="2" name="AuditLogs" fq-name="public.&quot;AuditLogs&quot;" order="1" x="340" y="40"><path name="public"/><path name="pfm"/></entity><entity id="3" name="Awards" fq-name="public.&quot;Awards&quot;" order="7" x="1060" y="500"><path name="public"/><path name="pfm"/></entity><entity id="4" name="Beneficiaries" fq-name="public.&quot;Beneficiaries&quot;" order="8" x="1060" y="1960"><path name="public"/><path name="pfm"/></entity><entity id="5" name="Budgets" fq-name="public.&quot;Budgets&quot;" order="9" x="1060" y="840"><path name="public"/><path name="pfm"/></entity><entity id="6" name="ChangeRequests" fq-name="public.&quot;ChangeRequests&quot;" order="10" x="1060" y="1160"><path name="public"/><path name="pfm"/></entity><entity id="7" name="ComplianceItems" fq-name="public.&quot;ComplianceItems&quot;" order="11" x="700" y="1860"><path name="public"/><path name="pfm"/></entity><entity id="8" name="Contracts" fq-name="public.&quot;Contracts&quot;" order="12" x="700" y="500"><path name="public"/><path name="pfm"/></entity><entity id="9" name="Disbursements" fq-name="public.&quot;Disbursements&quot;" order="13" x="700" y="2960"><path name="public"/><path name="pfm"/></entity><entity id="10" name="Evidences" fq-name="public.&quot;Evidences&quot;" order="14" x="40" y="2360"><path name="public"/><path name="pfm"/></entity><entity id="11" name="Indicators" fq-name="public.&quot;Indicators&quot;" order="15" x="340" y="1920"><path name="public"/><path name="pfm"/></entity><entity id="12" name="Instruments" fq-name="public.&quot;Instruments&quot;" order="16" x="1380" y="2300"><path name="public"/><path name="pfm"/></entity><entity id="13" name="Invites" fq-name="public.&quot;Invites&quot;" order="2" x="340" y="320"><path name="public"/><path name="pfm"/></entity><entity id="14" name="Issues" fq-name="public.&quot;Issues&quot;" order="17" x="1060" y="3160"><path name="public"/><path name="pfm"/></entity><entity id="15" name="Milestones" fq-name="public.&quot;Milestones&quot;" order="18" x="1060" y="2720"><path name="public"/><path name="pfm"/></entity><entity id="16" name="Notifications" fq-name="public.&quot;Notifications&quot;" order="3" x="2000" y="700"><path name="public"/><path name="pfm"/></entity><entity id="17" name="Organisations" fq-name="public.&quot;Organisations&quot;" order="19" x="2340" y="680"><path name="public"/><path name="pfm"/></entity><entity id="18" name="Outcomes" fq-name="public.&quot;Outcomes&quot;" order="20" x="700" y="2180"><path name="public"/><path name="pfm"/></entity><entity id="19" name="Portfolios" fq-name="public.&quot;Portfolios&quot;" order="21" x="2000" y="2140"><path name="public"/><path name="pfm"/></entity><entity id="20" name="Programmes" fq-name="public.&quot;Programmes&quot;" order="22" x="1700" y="1980"><path name="public"/><path name="pfm"/></entity><entity id="21" name="Projects" fq-name="public.&quot;Projects&quot;" order="23" x="1380" y="1920"><path name="public"/><path name="pfm"/></entity><entity id="22" name="Risks" fq-name="public.&quot;Risks&quot;" order="24" x="1060" y="1680"><path name="public"/><path name="pfm"/></entity><entity id="23" name="Rules" fq-name="public.&quot;Rules&quot;" order="25" x="1380" y="1540"><path name="public"/><path name="pfm"/></entity><entity id="24" name="SiteVisits" fq-name="public.&quot;SiteVisits&quot;" order="26" x="1060" y="2280"><path name="public"/><path name="pfm"/></entity><entity id="25" name="TenantOrganisations" fq-name="public.&quot;TenantOrganisations&quot;" order="4" x="2000" y="1060"><path name="public"/><path name="pfm"/></entity><entity id="26" name="TenantUsers" fq-name="public.&quot;TenantUsers&quot;" order="5" x="2000" y="180"><path name="public"/><path name="pfm"/></entity><entity id="27" name="Tenants" fq-name="public.&quot;Tenants&quot;" order="6" x="2340" y="1660"><path name="public"/><path name="pfm"/></entity><entity id="28" name="Users" fq-name="public.&quot;Users&quot;" order="27" x="2660" y="2380"><path name="public"/><path name="pfm"/></entity><entity id="29" name="__EFMigrationsHistory" fq-name="public.&quot;__EFMigrationsHistory&quot;" order="28" x="40" y="100"><path name="public"/><path name="pfm"/></entity></data-source></entities><relations><relation name="FK_Evidences_Activities_ActivityId" fq-name="public.&quot;Evidences&quot;.&quot;FK_Evidences_Activities_ActivityId&quot;" type="fk" pk-ref="1" fk-ref="10"/><relation name="FK_Indicators_Activities_ActivityId" fq-name="public.&quot;Indicators&quot;.&quot;FK_Indicators_Activities_ActivityId&quot;" type="fk" pk-ref="1" fk-ref="11"/><relation name="FK_Contracts_Awards_AwardId" fq-name="public.&quot;Contracts&quot;.&quot;FK_Contracts_Awards_AwardId&quot;" type="fk" pk-ref="3" fk-ref="8"/><relation name="FK_Invites_Awards_AwardId" fq-name="public.&quot;Invites&quot;.&quot;FK_Invites_Awards_AwardId&quot;" type="fk" pk-ref="3" fk-ref="13"/><relation name="FK_ComplianceItems_Beneficiaries_BeneficiaryId" fq-name="public.&quot;ComplianceItems&quot;.&quot;FK_ComplianceItems_Beneficiaries_BeneficiaryId&quot;" type="fk" pk-ref="4" fk-ref="7"/><relation name="FK_Outcomes_Beneficiaries_BeneficiaryId" fq-name="public.&quot;Outcomes&quot;.&quot;FK_Outcomes_Beneficiaries_BeneficiaryId&quot;" type="fk" pk-ref="4" fk-ref="18"/><relation name="FK_Invites_Contracts_ContractId" fq-name="public.&quot;Invites&quot;.&quot;FK_Invites_Contracts_ContractId&quot;" type="fk" pk-ref="8" fk-ref="13"/><relation name="FK_Evidences_Indicators_IndicatorId" fq-name="public.&quot;Evidences&quot;.&quot;FK_Evidences_Indicators_IndicatorId&quot;" type="fk" pk-ref="11" fk-ref="10"/><relation name="FK_Activities_Milestones_MilestoneId" fq-name="public.&quot;Activities&quot;.&quot;FK_Activities_Milestones_MilestoneId&quot;" type="fk" pk-ref="15" fk-ref="1"/><relation name="FK_Disbursements_Milestones_MilestoneId" fq-name="public.&quot;Disbursements&quot;.&quot;FK_Disbursements_Milestones_MilestoneId&quot;" type="fk" pk-ref="15" fk-ref="9"/><relation name="FK_Evidences_Milestones_MilestoneId" fq-name="public.&quot;Evidences&quot;.&quot;FK_Evidences_Milestones_MilestoneId&quot;" type="fk" pk-ref="15" fk-ref="10"><bend type="abs" x="353" y="2522"/><bend type="abs" x="708" y="2522"/></relation><relation name="FK_Awards_Organisations_OrganisationId" fq-name="public.&quot;Awards&quot;.&quot;FK_Awards_Organisations_OrganisationId&quot;" type="fk" pk-ref="17" fk-ref="3"><bend type="abs" x="1396" y="650"/><bend type="abs" x="1715" y="650"/><bend type="abs" x="2013" y="650"/></relation><relation name="FK_Invites_Organisations_InvitedOrganisationId" fq-name="public.&quot;Invites&quot;.&quot;FK_Invites_Organisations_InvitedOrganisationId&quot;" type="fk" pk-ref="17" fk-ref="13"><bend type="abs" x="708" y="409"/><bend type="abs" x="1065" y="409"/><bend type="abs" x="1396" y="456"/><bend type="abs" x="1715" y="503"/><bend type="abs" x="2013" y="566"/></relation><relation name="FK_Invites_Organisations_OrganisationId" fq-name="public.&quot;Invites&quot;.&quot;FK_Invites_Organisations_OrganisationId&quot;" type="fk" pk-ref="17" fk-ref="13"><bend type="abs" x="708" y="451"/><bend type="abs" x="1065" y="451"/><bend type="abs" x="1396" y="545"/><bend type="abs" x="1715" y="576"/><bend type="abs" x="2013" y="608"/></relation><relation name="FK_Notifications_Organisations_OrganisationId" fq-name="public.&quot;Notifications&quot;.&quot;FK_Notifications_Organisations_OrganisationId&quot;" type="fk" pk-ref="17" fk-ref="16"/><relation name="FK_Portfolios_Organisations_OrganisationId" fq-name="public.&quot;Portfolios&quot;.&quot;FK_Portfolios_Organisations_OrganisationId&quot;" type="fk" pk-ref="17" fk-ref="19"/><relation name="FK_TenantOrganisations_Organisations_OrganisationId" fq-name="public.&quot;TenantOrganisations&quot;.&quot;FK_TenantOrganisations_Organisations_OrganisationId&quot;" type="fk" pk-ref="17" fk-ref="25"/><relation name="FK_Programmes_Portfolios_PortfolioId" fq-name="public.&quot;Programmes&quot;.&quot;FK_Programmes_Portfolios_PortfolioId&quot;" type="fk" pk-ref="19" fk-ref="20"/><relation name="FK_Awards_Programmes_ProgrammeId" fq-name="public.&quot;Awards&quot;.&quot;FK_Awards_Programmes_ProgrammeId&quot;" type="fk" pk-ref="20" fk-ref="3"/><relation name="FK_Instruments_Programmes_ProgrammeId" fq-name="public.&quot;Instruments&quot;.&quot;FK_Instruments_Programmes_ProgrammeId&quot;" type="fk" pk-ref="20" fk-ref="12"/><relation name="FK_Projects_Programmes_ProgrammeId" fq-name="public.&quot;Projects&quot;.&quot;FK_Projects_Programmes_ProgrammeId&quot;" type="fk" pk-ref="20" fk-ref="21"/><relation name="FK_Rules_Programmes_ProgrammeId" fq-name="public.&quot;Rules&quot;.&quot;FK_Rules_Programmes_ProgrammeId&quot;" type="fk" pk-ref="20" fk-ref="23"/><relation name="FK_Activities_Projects_ProjectId" fq-name="public.&quot;Activities&quot;.&quot;FK_Activities_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="1"/><relation name="FK_Awards_Projects_ProjectId" fq-name="public.&quot;Awards&quot;.&quot;FK_Awards_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="3"/><relation name="FK_Beneficiaries_Projects_ProjectId" fq-name="public.&quot;Beneficiaries&quot;.&quot;FK_Beneficiaries_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="4"/><relation name="FK_Budgets_Projects_ProjectId" fq-name="public.&quot;Budgets&quot;.&quot;FK_Budgets_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="5"/><relation name="FK_ChangeRequests_Projects_ProjectId" fq-name="public.&quot;ChangeRequests&quot;.&quot;FK_ChangeRequests_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="6"/><relation name="FK_ComplianceItems_Projects_ProjectId" fq-name="public.&quot;ComplianceItems&quot;.&quot;FK_ComplianceItems_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="7"/><relation name="FK_Disbursements_Projects_ProjectId" fq-name="public.&quot;Disbursements&quot;.&quot;FK_Disbursements_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="9"/><relation name="FK_Evidences_Projects_ProjectId" fq-name="public.&quot;Evidences&quot;.&quot;FK_Evidences_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="10"><bend type="abs" x="353" y="1590"/><bend type="abs" x="708" y="1590"/><bend type="abs" x="1065" y="1590"/></relation><relation name="FK_Indicators_Projects_ProjectId" fq-name="public.&quot;Indicators&quot;.&quot;FK_Indicators_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="11"><bend type="abs" x="708" y="1611"/><bend type="abs" x="1065" y="1611"/></relation><relation name="FK_Issues_Projects_ProjectId" fq-name="public.&quot;Issues&quot;.&quot;FK_Issues_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="14"/><relation name="FK_Milestones_Projects_ProjectId" fq-name="public.&quot;Milestones&quot;.&quot;FK_Milestones_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="15"/><relation name="FK_Risks_Projects_ProjectId" fq-name="public.&quot;Risks&quot;.&quot;FK_Risks_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="22"/><relation name="FK_SiteVisits_Projects_ProjectId" fq-name="public.&quot;SiteVisits&quot;.&quot;FK_SiteVisits_Projects_ProjectId&quot;" type="fk" pk-ref="21" fk-ref="24"/><relation name="FK_Activities_Tenants_TenantId" fq-name="public.&quot;Activities&quot;.&quot;FK_Activities_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="1"><bend type="abs" x="1065" y="2608"/><bend type="abs" x="1396" y="2608"/><bend type="abs" x="1715" y="2482"/><bend type="abs" x="2013" y="2377"/></relation><relation name="FK_Awards_Tenants_TenantId" fq-name="public.&quot;Awards&quot;.&quot;FK_Awards_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="3"><bend type="abs" x="1396" y="901"/><bend type="abs" x="1715" y="1101"/><bend type="abs" x="2013" y="1301"/></relation><relation name="FK_Beneficiaries_Tenants_TenantId" fq-name="public.&quot;Beneficiaries&quot;.&quot;FK_Beneficiaries_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="4"><bend type="abs" x="1396" y="1856"/><bend type="abs" x="1715" y="1856"/><bend type="abs" x="2013" y="1856"/></relation><relation name="FK_Budgets_Tenants_TenantId" fq-name="public.&quot;Budgets&quot;.&quot;FK_Budgets_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="5"><bend type="abs" x="1396" y="1238"/><bend type="abs" x="1715" y="1291"/><bend type="abs" x="2013" y="1343"/></relation><relation name="FK_ChangeRequests_Tenants_TenantId" fq-name="public.&quot;ChangeRequests&quot;.&quot;FK_ChangeRequests_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="6"><bend type="abs" x="1396" y="1364"/><bend type="abs" x="1715" y="1364"/><bend type="abs" x="2013" y="1364"/></relation><relation name="FK_ComplianceItems_Tenants_TenantId" fq-name="public.&quot;ComplianceItems&quot;.&quot;FK_ComplianceItems_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="7"><bend type="abs" x="1065" y="1548"/><bend type="abs" x="1396" y="1469"/><bend type="abs" x="1715" y="1469"/><bend type="abs" x="2013" y="1490"/></relation><relation name="FK_Contracts_Tenants_TenantId" fq-name="public.&quot;Contracts&quot;.&quot;FK_Contracts_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="8"><bend type="abs" x="1065" y="1120"/><bend type="abs" x="1396" y="1200"/><bend type="abs" x="1715" y="1280"/><bend type="abs" x="2013" y="1322"/></relation><relation name="FK_Disbursements_Tenants_TenantId" fq-name="public.&quot;Disbursements&quot;.&quot;FK_Disbursements_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="9"><bend type="abs" x="1065" y="3016"/><bend type="abs" x="1396" y="2713"/><bend type="abs" x="1715" y="2608"/><bend type="abs" x="2013" y="2482"/></relation><relation name="FK_Evidences_Tenants_TenantId" fq-name="public.&quot;Evidences&quot;.&quot;FK_Evidences_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="10"><bend type="abs" x="353" y="1506"/><bend type="abs" x="708" y="1506"/><bend type="abs" x="1065" y="1506"/><bend type="abs" x="1396" y="1406"/><bend type="abs" x="1715" y="1406"/><bend type="abs" x="2013" y="1427"/></relation><relation name="FK_Indicators_Tenants_TenantId" fq-name="public.&quot;Indicators&quot;.&quot;FK_Indicators_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="11"><bend type="abs" x="708" y="1527"/><bend type="abs" x="1065" y="1527"/><bend type="abs" x="1396" y="1427"/><bend type="abs" x="1715" y="1427"/><bend type="abs" x="2013" y="1448"/></relation><relation name="FK_Instruments_Tenants_TenantId" fq-name="public.&quot;Instruments&quot;.&quot;FK_Instruments_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="12"><bend type="abs" x="1715" y="1940"/><bend type="abs" x="2013" y="1940"/></relation><relation name="FK_Invites_Tenants_TenantId" fq-name="public.&quot;Invites&quot;.&quot;FK_Invites_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="13"><bend type="abs" x="708" y="1485"/><bend type="abs" x="1065" y="1485"/><bend type="abs" x="1396" y="1385"/><bend type="abs" x="1715" y="1385"/><bend type="abs" x="2013" y="1385"/></relation><relation name="FK_Issues_Tenants_TenantId" fq-name="public.&quot;Issues&quot;.&quot;FK_Issues_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="14"><bend type="abs" x="1396" y="2754"/><bend type="abs" x="1715" y="2650"/><bend type="abs" x="2013" y="2545"/></relation><relation name="FK_Milestones_Tenants_TenantId" fq-name="public.&quot;Milestones&quot;.&quot;FK_Milestones_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="15"><bend type="abs" x="1396" y="2692"/><bend type="abs" x="1715" y="2566"/><bend type="abs" x="2013" y="2440"/></relation><relation name="FK_Notifications_Tenants_TenantId" fq-name="public.&quot;Notifications&quot;.&quot;FK_Notifications_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="16"/><relation name="FK_Outcomes_Tenants_TenantId" fq-name="public.&quot;Outcomes&quot;.&quot;FK_Outcomes_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="18"><bend type="abs" x="1065" y="1569"/><bend type="abs" x="1396" y="1490"/><bend type="abs" x="1715" y="1511"/><bend type="abs" x="2013" y="1511"/></relation><relation name="FK_Portfolios_Tenants_TenantId" fq-name="public.&quot;Portfolios&quot;.&quot;FK_Portfolios_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="19"/><relation name="FK_Programmes_Tenants_TenantId" fq-name="public.&quot;Programmes&quot;.&quot;FK_Programmes_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="20"/><relation name="FK_Projects_Tenants_TenantId" fq-name="public.&quot;Projects&quot;.&quot;FK_Projects_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="21"><bend type="abs" x="1715" y="1917"/><bend type="abs" x="2013" y="1917"/></relation><relation name="FK_Risks_Tenants_TenantId" fq-name="public.&quot;Risks&quot;.&quot;FK_Risks_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="22"><bend type="abs" x="1396" y="1835"/><bend type="abs" x="1715" y="1835"/><bend type="abs" x="2013" y="1835"/></relation><relation name="FK_Rules_Tenants_TenantId" fq-name="public.&quot;Rules&quot;.&quot;FK_Rules_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="23"><bend type="abs" x="1715" y="1708"/><bend type="abs" x="2013" y="1708"/></relation><relation name="FK_SiteVisits_Tenants_TenantId" fq-name="public.&quot;SiteVisits&quot;.&quot;FK_SiteVisits_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="24"><bend type="abs" x="1396" y="1877"/><bend type="abs" x="1715" y="1877"/><bend type="abs" x="2013" y="1877"/></relation><relation name="FK_TenantOrganisations_Tenants_TenantId" fq-name="public.&quot;TenantOrganisations&quot;.&quot;FK_TenantOrganisations_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="25"/><relation name="FK_TenantUsers_Tenants_TenantId" fq-name="public.&quot;TenantUsers&quot;.&quot;FK_TenantUsers_Tenants_TenantId&quot;" type="fk" pk-ref="27" fk-ref="26"/><relation name="FK_Activities_Users_ApprovedBy" fq-name="public.&quot;Activities&quot;.&quot;FK_Activities_Users_ApprovedBy&quot;" type="fk" pk-ref="28" fk-ref="1"><bend type="abs" x="1065" y="3037"/><bend type="abs" x="1396" y="3036"/><bend type="abs" x="1715" y="3035"/><bend type="abs" x="2013" y="3035"/><bend type="abs" x="2355" y="3037"/></relation><relation name="FK_Activities_Users_CreatedBy" fq-name="public.&quot;Activities&quot;.&quot;FK_Activities_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="1"><bend type="abs" x="1065" y="3058"/><bend type="abs" x="1396" y="3057"/><bend type="abs" x="1715" y="3056"/><bend type="abs" x="2013" y="3056"/><bend type="abs" x="2355" y="3058"/></relation><relation name="FK_Activities_Users_UpdatedBy" fq-name="public.&quot;Activities&quot;.&quot;FK_Activities_Users_UpdatedBy&quot;" type="fk" pk-ref="28" fk-ref="1"><bend type="abs" x="1065" y="3079"/><bend type="abs" x="1396" y="3079"/><bend type="abs" x="1715" y="3079"/><bend type="abs" x="2013" y="3079"/><bend type="abs" x="2355" y="3079"/></relation><relation name="FK_Awards_Users_ApprovedBy" fq-name="public.&quot;Awards&quot;.&quot;FK_Awards_Users_ApprovedBy&quot;" type="fk" pk-ref="28" fk-ref="3"><bend type="abs" x="1396" y="482"/><bend type="abs" x="1715" y="482"/><bend type="abs" x="2013" y="482"/><bend type="abs" x="2355" y="482"/></relation><relation name="FK_Awards_Users_CreatedBy" fq-name="public.&quot;Awards&quot;.&quot;FK_Awards_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="3"><bend type="abs" x="1396" y="524"/><bend type="abs" x="1715" y="524"/><bend type="abs" x="2013" y="524"/><bend type="abs" x="2355" y="524"/></relation><relation name="FK_Awards_Users_UpdatedBy" fq-name="public.&quot;Awards&quot;.&quot;FK_Awards_Users_UpdatedBy&quot;" type="fk" pk-ref="28" fk-ref="3"><bend type="abs" x="1396" y="566"/><bend type="abs" x="1715" y="555"/><bend type="abs" x="2013" y="545"/><bend type="abs" x="2355" y="545"/></relation><relation name="FK_Beneficiaries_Users_CreatedBy" fq-name="public.&quot;Beneficiaries&quot;.&quot;FK_Beneficiaries_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="4"><bend type="abs" x="1396" y="2587"/><bend type="abs" x="1715" y="2587"/><bend type="abs" x="2013" y="2587"/><bend type="abs" x="2355" y="2587"/></relation><relation name="FK_Beneficiaries_Users_UserId" fq-name="public.&quot;Beneficiaries&quot;.&quot;FK_Beneficiaries_Users_UserId&quot;" type="fk" pk-ref="28" fk-ref="4"><bend type="abs" x="1396" y="2629"/><bend type="abs" x="1715" y="2629"/><bend type="abs" x="2013" y="2629"/><bend type="abs" x="2355" y="2629"/></relation><relation name="FK_Budgets_Users_ApprovedBy" fq-name="public.&quot;Budgets&quot;.&quot;FK_Budgets_Users_ApprovedBy&quot;" type="fk" pk-ref="28" fk-ref="5"><bend type="abs" x="1396" y="671"/><bend type="abs" x="1715" y="629"/><bend type="abs" x="2013" y="587"/><bend type="abs" x="2355" y="587"/></relation><relation name="FK_Budgets_Users_CreatedBy" fq-name="public.&quot;Budgets&quot;.&quot;FK_Budgets_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="5"><bend type="abs" x="1396" y="922"/><bend type="abs" x="1715" y="776"/><bend type="abs" x="2013" y="629"/><bend type="abs" x="2355" y="629"/></relation><relation name="FK_ChangeRequests_Users_ApprovedBy" fq-name="public.&quot;ChangeRequests&quot;.&quot;FK_ChangeRequests_Users_ApprovedBy&quot;" type="fk" pk-ref="28" fk-ref="6"><bend type="abs" x="1396" y="1259"/><bend type="abs" x="1715" y="1259"/><bend type="abs" x="2013" y="1259"/><bend type="abs" x="2355" y="1259"/></relation><relation name="FK_ChangeRequests_Users_CreatedBy" fq-name="public.&quot;ChangeRequests&quot;.&quot;FK_ChangeRequests_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="6"><bend type="abs" x="1396" y="1301"/><bend type="abs" x="1715" y="1301"/><bend type="abs" x="2013" y="1280"/><bend type="abs" x="2355" y="1280"/></relation><relation name="FK_ComplianceItems_Users_CreatedBy" fq-name="public.&quot;ComplianceItems&quot;.&quot;FK_ComplianceItems_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="7"><bend type="abs" x="1065" y="2566"/><bend type="abs" x="1396" y="2671"/><bend type="abs" x="1715" y="2671"/><bend type="abs" x="2013" y="2671"/><bend type="abs" x="2355" y="2671"/></relation><relation name="FK_ComplianceItems_Users_VerifiedBy" fq-name="public.&quot;ComplianceItems&quot;.&quot;FK_ComplianceItems_Users_VerifiedBy&quot;" type="fk" pk-ref="28" fk-ref="7"><bend type="abs" x="1065" y="2629"/><bend type="abs" x="1396" y="2734"/><bend type="abs" x="1715" y="2734"/><bend type="abs" x="2013" y="2734"/><bend type="abs" x="2355" y="2734"/></relation><relation name="FK_Contracts_Users_CreatedBy" fq-name="public.&quot;Contracts&quot;.&quot;FK_Contracts_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="8"><bend type="abs" x="1065" y="430"/><bend type="abs" x="1396" y="430"/><bend type="abs" x="1715" y="430"/><bend type="abs" x="2013" y="430"/><bend type="abs" x="2355" y="430"/></relation><relation name="FK_Disbursements_Users_CreatedBy" fq-name="public.&quot;Disbursements&quot;.&quot;FK_Disbursements_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="9"><bend type="abs" x="1065" y="3100"/><bend type="abs" x="1396" y="3100"/><bend type="abs" x="1715" y="3100"/><bend type="abs" x="2013" y="3100"/><bend type="abs" x="2355" y="3100"/></relation><relation name="FK_Disbursements_Users_UpdatedBy" fq-name="public.&quot;Disbursements&quot;.&quot;FK_Disbursements_Users_UpdatedBy&quot;" type="fk" pk-ref="28" fk-ref="9"><bend type="abs" x="1065" y="3121"/><bend type="abs" x="1396" y="3034"/><bend type="abs" x="1715" y="3034"/><bend type="abs" x="2013" y="3034"/><bend type="abs" x="2355" y="3121"/></relation><relation name="FK_Evidences_Users_CreatedBy" fq-name="public.&quot;Evidences&quot;.&quot;FK_Evidences_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="10"><bend type="abs" x="353" y="3486"/><bend type="abs" x="708" y="3486"/><bend type="abs" x="1065" y="3486"/><bend type="abs" x="1396" y="3486"/><bend type="abs" x="1715" y="3486"/><bend type="abs" x="2013" y="3486"/><bend type="abs" x="2355" y="3486"/></relation><relation name="FK_Evidences_Users_UpdatedBy" fq-name="public.&quot;Evidences&quot;.&quot;FK_Evidences_Users_UpdatedBy&quot;" type="fk" pk-ref="28" fk-ref="10"><bend type="abs" x="353" y="3507"/><bend type="abs" x="708" y="3507"/><bend type="abs" x="1065" y="3507"/><bend type="abs" x="1396" y="3507"/><bend type="abs" x="1715" y="3507"/><bend type="abs" x="2013" y="3507"/><bend type="abs" x="2355" y="3507"/></relation><relation name="FK_Indicators_Users_CreatedBy" fq-name="public.&quot;Indicators&quot;.&quot;FK_Indicators_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="11"><bend type="abs" x="708" y="2501"/><bend type="abs" x="1065" y="2671"/><bend type="abs" x="1396" y="2776"/><bend type="abs" x="1715" y="2776"/><bend type="abs" x="2013" y="2691"/><bend type="abs" x="2355" y="2691"/></relation><relation name="FK_Instruments_Users_CreatedBy" fq-name="public.&quot;Instruments&quot;.&quot;FK_Instruments_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="12"><bend type="abs" x="1715" y="2545"/><bend type="abs" x="2013" y="2566"/><bend type="abs" x="2355" y="2566"/></relation><relation name="FK_Invites_Users_Recipient" fq-name="public.&quot;Invites&quot;.&quot;FK_Invites_Users_Recipient&quot;" type="fk" pk-ref="28" fk-ref="13"><bend type="abs" x="708" y="388"/><bend type="abs" x="1065" y="388"/><bend type="abs" x="1396" y="388"/><bend type="abs" x="1715" y="388"/><bend type="abs" x="2013" y="388"/><bend type="abs" x="2355" y="388"/></relation><relation name="FK_Issues_Users_AssignedTo" fq-name="public.&quot;Issues&quot;.&quot;FK_Issues_Users_AssignedTo&quot;" type="fk" pk-ref="28" fk-ref="14"><bend type="abs" x="1396" y="3055"/><bend type="abs" x="1715" y="3055"/><bend type="abs" x="2013" y="3055"/><bend type="abs" x="2355" y="3055"/></relation><relation name="FK_Issues_Users_CreatedBy" fq-name="public.&quot;Issues&quot;.&quot;FK_Issues_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="14"><bend type="abs" x="1396" y="3076"/><bend type="abs" x="1715" y="3076"/><bend type="abs" x="2013" y="3076"/><bend type="abs" x="2355" y="3076"/></relation><relation name="FK_Milestones_Users_CreatedBy" fq-name="public.&quot;Milestones&quot;.&quot;FK_Milestones_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="15"><bend type="abs" x="1396" y="2712"/><bend type="abs" x="1715" y="2712"/><bend type="abs" x="2013" y="2712"/><bend type="abs" x="2355" y="2712"/></relation><relation name="FK_Milestones_Users_UpdatedBy" fq-name="public.&quot;Milestones&quot;.&quot;FK_Milestones_Users_UpdatedBy&quot;" type="fk" pk-ref="28" fk-ref="15"><bend type="abs" x="1396" y="2733"/><bend type="abs" x="1715" y="2733"/><bend type="abs" x="2013" y="2733"/><bend type="abs" x="2355" y="2733"/></relation><relation name="FK_Notifications_Users_Recipient" fq-name="public.&quot;Notifications&quot;.&quot;FK_Notifications_Users_Recipient&quot;" type="fk" pk-ref="28" fk-ref="16"/><relation name="FK_Organisations_Users_CreatedBy" fq-name="public.&quot;Organisations&quot;.&quot;FK_Organisations_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="17"/><relation name="FK_Organisations_Users_UserId" fq-name="public.&quot;Organisations&quot;.&quot;FK_Organisations_Users_UserId&quot;" type="fk" pk-ref="28" fk-ref="17"/><relation name="FK_Outcomes_Users_CreatedBy" fq-name="public.&quot;Outcomes&quot;.&quot;FK_Outcomes_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="18"><bend type="abs" x="1065" y="2650"/><bend type="abs" x="1396" y="2755"/><bend type="abs" x="1715" y="2755"/><bend type="abs" x="2013" y="2755"/><bend type="abs" x="2355" y="2755"/></relation><relation name="FK_Portfolios_Users_CreatedBy" fq-name="public.&quot;Portfolios&quot;.&quot;FK_Portfolios_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="19"/><relation name="FK_Portfolios_Users_OwnedBy" fq-name="public.&quot;Portfolios&quot;.&quot;FK_Portfolios_Users_OwnedBy&quot;" type="fk" pk-ref="28" fk-ref="19"/><relation name="FK_Programmes_Users_CreatedBy" fq-name="public.&quot;Programmes&quot;.&quot;FK_Programmes_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="20"><bend type="abs" x="2013" y="2398"/><bend type="abs" x="2355" y="2398"/></relation><relation name="FK_Programmes_Users_OwnedBy" fq-name="public.&quot;Programmes&quot;.&quot;FK_Programmes_Users_OwnedBy&quot;" type="fk" pk-ref="28" fk-ref="20"><bend type="abs" x="2013" y="2419"/><bend type="abs" x="2355" y="2419"/></relation><relation name="FK_Projects_Users_CreatedBy" fq-name="public.&quot;Projects&quot;.&quot;FK_Projects_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="21"><bend type="abs" x="1715" y="2461"/><bend type="abs" x="2013" y="2461"/><bend type="abs" x="2355" y="2461"/></relation><relation name="FK_Projects_Users_UpdatedBy" fq-name="public.&quot;Projects&quot;.&quot;FK_Projects_Users_UpdatedBy&quot;" type="fk" pk-ref="28" fk-ref="21"><bend type="abs" x="1715" y="2503"/><bend type="abs" x="2013" y="2503"/><bend type="abs" x="2355" y="2503"/></relation><relation name="FK_Risks_Users_CreatedBy" fq-name="public.&quot;Risks&quot;.&quot;FK_Risks_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="22"><bend type="abs" x="1396" y="2566"/><bend type="abs" x="1715" y="2524"/><bend type="abs" x="2013" y="2524"/><bend type="abs" x="2355" y="2524"/></relation><relation name="FK_Rules_Users_CreatedBy" fq-name="public.&quot;Rules&quot;.&quot;FK_Rules_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="23"><bend type="abs" x="1715" y="1448"/><bend type="abs" x="2013" y="1406"/><bend type="abs" x="2355" y="1406"/></relation><relation name="FK_Rules_Users_UpdatedBy" fq-name="public.&quot;Rules&quot;.&quot;FK_Rules_Users_UpdatedBy&quot;" type="fk" pk-ref="28" fk-ref="23"><bend type="abs" x="1715" y="1490"/><bend type="abs" x="2013" y="1469"/><bend type="abs" x="2355" y="1469"/></relation><relation name="FK_SiteVisits_Users_CreatedBy" fq-name="public.&quot;SiteVisits&quot;.&quot;FK_SiteVisits_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="24"><bend type="abs" x="1396" y="2650"/><bend type="abs" x="1715" y="2650"/><bend type="abs" x="2013" y="2650"/><bend type="abs" x="2355" y="2650"/></relation><relation name="FK_TenantOrganisations_Users_CreatedBy" fq-name="public.&quot;TenantOrganisations&quot;.&quot;FK_TenantOrganisations_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="25"/><relation name="FK_TenantUsers_Users_CreatedBy" fq-name="public.&quot;TenantUsers&quot;.&quot;FK_TenantUsers_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="26"/><relation name="FK_TenantUsers_Users_UserId" fq-name="public.&quot;TenantUsers&quot;.&quot;FK_TenantUsers_Users_UserId&quot;" type="fk" pk-ref="28" fk-ref="26"/><relation name="FK_Tenants_Users_CreatedBy" fq-name="public.&quot;Tenants&quot;.&quot;FK_Tenants_Users_CreatedBy&quot;" type="fk" pk-ref="28" fk-ref="27"/><relation name="FK_Tenants_Users_UpdatedBy" fq-name="public.&quot;Tenants&quot;.&quot;FK_Tenants_Users_UpdatedBy&quot;" type="fk" pk-ref="28" fk-ref="27"/></relations></diagram>