Skip to main content

Table Relationships Registry

Below is the automatically generated list of table relationships used across ZAYAZ.

Legend: references many_to_one
From tableTo tableFK columnPK columnCardinalityRelationshipComment
zyz_mice_fume_inputdim_countriesiso_cc_idiso_cc_idmany_to_onereferencesEach PEF input row maps to exactly one country via ISO surrogate key.
zyz_mice_fume_inputdim_nacenace_codenace_codemany_to_onereferencesInput activity is classified by one NACE code.
zyz_mice_fume_inputref_efdbef_idef_idmany_to_onereferencesEach input row selects one emission factor from EFDB.
zyz_mice_fume_inputdim_unitsinput_unit_codeunit_codemany_to_onereferencesRaw quantity is expressed in one unit of measure.
zyz_mice_fume_resultdim_unitsresult_unit_codeunit_codemany_to_onereferencesResulting footprint is expressed in a normalized unit (e.g. kg CO2e).
zyz_mice_fume_resultdim_countriesiso_cc_idiso_cc_idmany_to_onereferencesOutput row retains the originating country context.
fact_pef_runzyz_mice_fume_inputinput_row_idrow_idmany_to_onereferencesFact table links PEF runs to their original micro-engine input rows.
fact_pef_runzyz_mice_fume_resultresult_row_idrow_idmany_to_onereferencesFact table links PEF runs to their computed results.
ref_compute_method_registry
GitHub RepoRequest for Change (RFC)