<?xml version="1.0" encoding="UTF-8"?><database name="terraware_045577cc_2c057118f580" schema="accelerator" type="PostgreSQL - 17.11 (Debian 17.11-1.pgdg13+2)">
   <tables>
      <table name="accelerator_phases" remarks="(Enum) Phases that accelerator projects go through." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="phase_id" foreignKey="modules_phase_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="modules"/>
            <child column="phase_id" foreignKey="project_scores_phase_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_scores"/>
            <child column="phase_id" foreignKey="project_vote_decisions_phase_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_vote_decisions"/>
            <child column="phase_id" foreignKey="project_votes_phase_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_votes"/>
            <child column="phase_id" foreignKey="projects_phase_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="accelerator_phases_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="accelerator_phases_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="activities" remarks="User-supplied descriptions of project activities." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="activity_id" foreignKey="activity_media_files_activity_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="activity_media_files"/>
            <child column="activity_id" foreignKey="activity_observations_activity_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="activity_observations"/>
            <child column="activity_id" foreignKey="published_activities_activity_id_fkey" implied="false" onDeleteCascade="false" schema="funder" table="published_activities"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="activities_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="activity_type_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="activities_activity_type_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="activity_types"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="activity_date" nullable="false" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="description" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="is_highlight" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="created_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="activities_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="activities_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="verified_by" nullable="true" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="activities_verified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="11" name="verified_time" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="activity_status_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="activities_activity_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="activity_statuses"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="activities_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="activities_project_id_idx" unique="false">
            <column ascending="true" name="project_id"/>
         </index>
         <checkConstraint constraint="((activity_status_id &lt;&gt; 2) OR (verified_by IS NOT NULL))" name="activity_status_verified"/>
         <checkConstraint constraint="((verified_by IS NULL) = (verified_time IS NULL))" name="verified_by_requires_time"/>
      </table>
      <table name="activity_media_files" remarks="Information about activity-related media such as photos and videos." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="file_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="activity_media_files_file_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="files"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="activity_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="activity_media_files_activity_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="activities"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="activity_media_type_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="activity_media_files_activity_media_type_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="activity_media_types"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="is_cover_photo" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="caption" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="5" name="is_hidden_on_map" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="list_position" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <primaryKey column="file_id" sequenceNumberInPK="1"/>
         <index name="activity_media_files_pkey" unique="true">
            <column ascending="true" name="file_id"/>
         </index>
         <index name="activity_media_files_activity_id_idx" unique="false">
            <column ascending="true" name="activity_id"/>
         </index>
         <index name="one_cover_per_activity" unique="true">
            <column ascending="true" name="activity_id"/>
         </index>
         <index name="unambiguous_list_order" unique="true">
            <column ascending="true" name="activity_id"/>
            <column ascending="true" name="list_position"/>
         </index>
         <checkConstraint constraint="((is_cover_photo = false) OR (activity_media_type_id = 1))" name="cover_photo_only"/>
      </table>
      <table name="activity_media_types" remarks="(Enum) Types of media that can be associated with entries in the activity log." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="activity_media_type_id" foreignKey="activity_media_files_activity_media_type_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="activity_media_files"/>
            <child column="activity_media_type_id" foreignKey="published_activity_media_files_activity_media_type_id_fkey" implied="false" onDeleteCascade="false" schema="funder" table="published_activity_media_files"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="activity_media_types_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="activity_media_types_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="activity_observations" remarks="Defines which observations are associated with which activities." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="activity_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="activity_observations_activity_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="activities"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="observation_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="activity_observations_observation_id_fkey" implied="false" onDeleteCascade="true" schema="tracking" table="observations"/>
         </column>
         <primaryKey column="activity_id" sequenceNumberInPK="1"/>
         <index name="activity_observations_pkey" unique="true">
            <column ascending="true" name="activity_id"/>
         </index>
         <index name="activity_observations_observation_id_key" unique="true">
            <column ascending="true" name="observation_id"/>
         </index>
      </table>
      <table name="activity_statuses" remarks="(Enum) Statuses of entries in the activity log." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="activity_status_id" foreignKey="activities_activity_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="activities"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="activity_statuses_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="activity_statuses_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="activity_types" remarks="(Enum) Types of entries in the activity log." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="activity_type_id" foreignKey="activities_activity_type_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="activities"/>
            <child column="activity_type_id" foreignKey="published_activities_activity_type_id_fkey" implied="false" onDeleteCascade="false" schema="funder" table="published_activities"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="activity_types_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="activity_types_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="application_histories" remarks="Change histories for accelerator applications. Only includes changes to top-level metadata, not things like changes to variable values." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="application_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="application_histories_application_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="applications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="application_histories_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="application_status_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="application_histories_application_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="application_statuses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="boundary" nullable="true" remarks="" size="2147483647" type="geometry" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="internal_comment" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="feedback" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="application_histories_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="application_histories_application_id_idx" unique="false">
            <column ascending="true" name="application_id"/>
         </index>
         <index name="application_histories_modified_by_idx" unique="false">
            <column ascending="true" name="modified_by"/>
         </index>
      </table>
      <table name="application_module_statuses" remarks="(Enum) Possible statuses of individual modules in an application." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="application_module_status_id" foreignKey="application_modules_application_module_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="application_modules"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="application_module_statuses_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="application_module_statuses_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="application_modules" remarks="Current states of the modules for individual applications." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="application_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="application_modules_application_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="applications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="module_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="application_modules_module_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="modules"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="application_module_status_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="application_modules_application_module_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="application_module_statuses"/>
         </column>
         <primaryKey column="application_id" sequenceNumberInPK="1"/>
         <primaryKey column="module_id" sequenceNumberInPK="2"/>
         <index name="application_modules_pkey" unique="true">
            <column ascending="true" name="application_id"/>
            <column ascending="true" name="module_id"/>
         </index>
         <index name="application_modules_application_id_idx" unique="false">
            <column ascending="true" name="application_id"/>
         </index>
      </table>
      <table name="application_statuses" remarks="(Enum) Possible statuses for an application to the accelerator program." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="application_status_id" foreignKey="application_histories_application_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="application_histories"/>
            <child column="application_status_id" foreignKey="applications_application_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="applications"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="application_statuses_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="application_statuses_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="applications" remarks="Information about projects that are applying for the accelerator program." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="application_id" foreignKey="application_histories_application_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="application_histories"/>
            <child column="application_id" foreignKey="application_modules_application_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="application_modules"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="applications_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="internal_name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="created_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="applications_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="4" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="applications_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="application_status_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="applications_application_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="application_statuses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="boundary" nullable="true" remarks="" size="2147483647" type="geometry" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="internal_comment" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="feedback" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="country_code" nullable="true" remarks="" size="2147483647" type="text" typeCode="12">
            <parent column="code" foreignKey="applications_country_code_fkey" implied="false" onDeleteCascade="false" schema="public" table="countries"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="applications_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="applications_created_by_idx" unique="false">
            <column ascending="true" name="created_by"/>
         </index>
         <index name="applications_internal_name_key" unique="true">
            <column ascending="true" name="internal_name"/>
         </index>
         <index name="applications_modified_by_idx" unique="false">
            <column ascending="true" name="modified_by"/>
         </index>
         <index name="applications_project_id_key" unique="true">
            <column ascending="true" name="project_id"/>
         </index>
      </table>
      <table name="auto_calculated_indicator_targets" remarks="Project-level baseline and end-of-project target values for auto-calculated indicators." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="auto_calculated_indicator_targets_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="auto_calculated_indicator_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="auto_calculated_indicator_tar_auto_calculated_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="auto_calculated_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="baseline" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="end_target" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <primaryKey column="project_id" sequenceNumberInPK="1"/>
         <primaryKey column="auto_calculated_indicator_id" sequenceNumberInPK="2"/>
         <index name="auto_calculated_indicator_targets_pkey" unique="true">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="auto_calculated_indicator_id"/>
         </index>
         <index name="auto_calculated_indicator_targ_auto_calculated_indicator_id_idx" unique="false">
            <column ascending="true" name="auto_calculated_indicator_id"/>
         </index>
      </table>
      <table name="auto_calculated_indicators" remarks="(Enum) Accelerator report auto-calculated indicators, for which data are collected from Terraware." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="auto_calculated_indicator_id" foreignKey="auto_calculated_indicator_tar_auto_calculated_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="auto_calculated_indicator_targets"/>
            <child column="auto_calculated_indicator_id" foreignKey="report_auto_calculated_indicator_targets_auto_calculated_indica" implied="false" onDeleteCascade="true" schema="accelerator" table="report_auto_calculated_indicator_targets"/>
            <child column="auto_calculated_indicator_id" foreignKey="report_auto_calculated_indicators_auto_calculated_indicator_id_" implied="false" onDeleteCascade="false" schema="accelerator" table="report_auto_calculated_indicators"/>
            <child column="auto_calculated_indicator_id" foreignKey="published_auto_calculated_ind_auto_calculated_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="funder" table="published_auto_calculated_indicator_baselines"/>
            <child column="auto_calculated_indicator_id" foreignKey="published_auto_calculated_indicator_targets_auto_calculated_ind" implied="false" onDeleteCascade="true" schema="funder" table="published_auto_calculated_indicator_targets"/>
            <child column="auto_calculated_indicator_id" foreignKey="published_report_auto_calculated_indicators_auto_calculated_ind" implied="false" onDeleteCascade="false" schema="funder" table="published_report_auto_calculated_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="level_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="auto_calculated_indicators_level_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="indicator_levels"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="category_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="auto_calculated_indicators_category_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="indicator_categories"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="description" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="ref_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="is_publishable" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="unit" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="primary_data_source" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="true" digits="0" id="10" name="active" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="class_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="auto_calculated_indicators_class_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="indicator_classes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="frequency_id" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="auto_calculated_indicators_frequency_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="indicator_frequencies"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="tf_owner" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="14" name="precision" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="auto_calculated_indicators_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table name="common_indicator_targets" remarks="Project-level baseline and end-of-project target values for common indicators." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="common_indicator_targets_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="common_indicator_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="common_indicator_targets_common_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="common_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="baseline" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="end_target" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <primaryKey column="project_id" sequenceNumberInPK="1"/>
         <primaryKey column="common_indicator_id" sequenceNumberInPK="2"/>
         <index name="common_indicator_targets_pkey" unique="true">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="common_indicator_id"/>
         </index>
         <index name="common_indicator_targets_common_indicator_id_idx" unique="false">
            <column ascending="true" name="common_indicator_id"/>
         </index>
      </table>
      <table name="common_indicators" remarks="Standard non-system indicators for every project to measure in accelerator reports." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="common_indicator_id" foreignKey="common_indicator_targets_common_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="common_indicator_targets"/>
            <child column="common_indicator_id" foreignKey="report_common_indicator_targets_common_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="report_common_indicator_targets"/>
            <child column="common_indicator_id" foreignKey="report_common_indicators_common_indicator_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="report_common_indicators"/>
            <child column="common_indicator_id" foreignKey="published_common_indicator_baselines_common_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="funder" table="published_common_indicator_baselines"/>
            <child column="common_indicator_id" foreignKey="published_common_indicator_targets_common_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="funder" table="published_common_indicator_targets"/>
            <child column="common_indicator_id" foreignKey="published_report_common_indicators_common_indicator_id_fkey" implied="false" onDeleteCascade="false" schema="funder" table="published_report_common_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="level_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="common_indicators_level_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="indicator_levels"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="category_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="common_indicators_category_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="indicator_categories"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="description" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="ref_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="is_publishable" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="unit" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="primary_data_source" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="true" digits="0" id="10" name="active" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="class_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="standard_indicators_class_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="indicator_classes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="frequency_id" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="standard_indicators_frequency_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="indicator_frequencies"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="tf_owner" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="14" name="precision" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="common_indicators_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table name="deal_stages" remarks="(Enum) Stages in the deal workflow that a project progresses through." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="deal_stage_id" foreignKey="project_accelerator_details_deal_stage_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_accelerator_details"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="pipeline_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="deal_stages_pipeline_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="pipelines"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="deal_stages_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="deal_stages_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="default_voters" remarks="Users to automatically be assigned as voters on accelerator projects." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="user_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="default_voters_user_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="users"/>
         </column>
         <primaryKey column="user_id" sequenceNumberInPK="1"/>
         <index name="default_voters_pkey" unique="true">
            <column ascending="true" name="user_id"/>
         </index>
      </table>
      <table name="deliverable_categories" remarks="(Enum) High-level groups for organizing deliverables." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="deliverable_category_id" foreignKey="deliverables_deliverable_category_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="internal_interest_id" nullable="false" remarks="Internal interest enum that the deliverable category corresponds to." size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="deliverable_categories_internal_interest_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="internal_interests"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="deliverable_categories_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="deliverable_categories_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="deliverable_documents" remarks="Information about expected deliverables of type Document that isn't relevant for other deliverable types." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="deliverable_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="deliverable_documents_deliverable_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="deliverable_type_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="deliverable_documents_deliverable_type_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverable_types"/>
            <parent column="deliverable_type_id" foreignKey="deliverable_documents_deliverable_id_deliverable_type_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="template_url" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="deliverable_id" sequenceNumberInPK="1"/>
         <index name="deliverable_documents_pkey" unique="true">
            <column ascending="true" name="deliverable_id"/>
         </index>
         <checkConstraint constraint="(deliverable_type_id = 1)" name="deliverable_is_document"/>
      </table>
      <table name="deliverable_project_due_dates" remarks="Deliverable due dates overrides for projects." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="deliverable_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="deliverable_project_due_dates_deliverable_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="deliverables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="deliverable_project_due_dates_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="due_date" nullable="false" remarks="" size="13" type="date" typeCode="91"/>
         <primaryKey column="deliverable_id" sequenceNumberInPK="1"/>
         <primaryKey column="project_id" sequenceNumberInPK="2"/>
         <index name="deliverable_project_due_dates_pkey" unique="true">
            <column ascending="true" name="deliverable_id"/>
            <column ascending="true" name="project_id"/>
         </index>
      </table>
      <table name="deliverable_types" remarks="(Enum) Types of deliverables for an accelerator module." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="deliverable_type_id" foreignKey="deliverable_documents_deliverable_type_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverable_documents"/>
            <child column="deliverable_type_id" foreignKey="deliverables_deliverable_type_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="deliverable_types_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="deliverable_types_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="deliverable_variables" remarks="Which variables are associated with which deliverables. Note that this includes variables that have been replaced by newer versions, and the newer versions might be associated with different deliverables." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="deliverable_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="deliverable_variables_deliverable_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="deliverables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="variable_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="deliverable_variables_variable_id_fkey" implied="false" onDeleteCascade="true" schema="docprod" table="variables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="position" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <primaryKey column="variable_id" sequenceNumberInPK="1"/>
         <primaryKey column="deliverable_id" sequenceNumberInPK="2"/>
         <index name="deliverable_variables_pkey" unique="true">
            <column ascending="true" name="variable_id"/>
            <column ascending="true" name="deliverable_id"/>
         </index>
      </table>
      <table name="deliverables" remarks="Information about expected deliverables. This describes what we request from users; the data we get back from users in response is recorded in `project_deliverables` and its child tables." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="deliverable_id" foreignKey="deliverable_documents_deliverable_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverable_documents"/>
            <child column="deliverable_id" foreignKey="deliverable_project_due_dates_deliverable_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="deliverable_project_due_dates"/>
            <child column="deliverable_id" foreignKey="deliverable_variables_deliverable_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="deliverable_variables"/>
            <child column="deliverable_id" foreignKey="submissions_deliverable_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="submissions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="deliverable_category_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="deliverables_deliverable_category_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverable_categories"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="deliverable_type_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="deliverable_type_id" foreignKey="deliverable_documents_deliverable_id_deliverable_type_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverable_documents"/>
            <parent column="id" foreignKey="deliverables_deliverable_type_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverable_types"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="module_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="deliverables_module_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="modules"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="position" nullable="false" remarks="Which position this deliverable appears in the module's list of deliverables, starting with 1." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="created_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="deliverables_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="deliverables_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="description_html" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="is_sensitive" nullable="false" remarks="If true, the data users provide in response to this deliverable will be visible to a smaller subset of accelerator admins. Secure documents are saved to a different document store than non-secure ones." size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="is_required" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="deliverables_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="deliverables_id_deliverable_type_id_key" unique="true">
            <column ascending="true" name="id"/>
            <column ascending="true" name="deliverable_type_id"/>
         </index>
         <index name="deliverables_module_id_position_key" unique="true">
            <column ascending="true" name="module_id"/>
            <column ascending="true" name="position"/>
         </index>
      </table>
      <table name="document_stores" remarks="(Enum) Locations where uploaded documents are stored." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="document_store_id" foreignKey="submission_documents_document_store_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="submission_documents"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="document_stores_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="document_stores_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="event_projects" remarks="Projects that are participants of an event." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="event_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="event_projects_event_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="events"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="event_projects_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <primaryKey column="event_id" sequenceNumberInPK="1"/>
         <primaryKey column="project_id" sequenceNumberInPK="2"/>
         <index name="event_projects_pkey" unique="true">
            <column ascending="true" name="event_id"/>
            <column ascending="true" name="project_id"/>
         </index>
      </table>
      <table name="event_statuses" remarks="(Enum) Statuses of events for an accelerator module" schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="event_status_id" foreignKey="events_event_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="events"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="event_statuses_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="event_statuses_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="event_types" remarks="(Enum) Types of events for an accelerator module" schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="event_type_id" foreignKey="events_event_type_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="events"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="event_types_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="event_types_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="events" remarks="Events with meeting links and time within an acclerator module." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="event_id" foreignKey="event_projects_event_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="event_projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="module_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="events_module_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="modules"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="event_type_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="events_event_type_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="event_types"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="meeting_url" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="slides_url" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="recording_url" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="start_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="end_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="created_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="events_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="events_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="11" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="1" digits="0" id="12" name="revision" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="event_status_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="events_event_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="event_statuses"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="events_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <checkConstraint constraint="(start_time &lt;= end_time)" name="times_start_before_end"/>
      </table>
      <table name="hubspot_token" remarks="If the server has been authorized to make HubSpot API requests, the refresh token to use to generate new access tokens." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="refresh_token" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <index name="hubspot_token_expr_idx" unique="true"/>
      </table>
      <table name="indicator_categories" remarks="(Enum) Categories of indicators for reports." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="category_id" foreignKey="auto_calculated_indicators_category_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="auto_calculated_indicators"/>
            <child column="category_id" foreignKey="common_indicators_category_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="common_indicators"/>
            <child column="category_id" foreignKey="project_indicators_category_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="indicator_categories_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="indicator_categories_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="indicator_classes" remarks="(Enum) Classes of accelerator project report indicators." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="class_id" foreignKey="auto_calculated_indicators_class_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="auto_calculated_indicators"/>
            <child column="class_id" foreignKey="standard_indicators_class_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="common_indicators"/>
            <child column="class_id" foreignKey="project_indicators_class_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="indicator_classes_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="indicator_classes_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="indicator_frequencies" remarks="(Enum) Reporting frequencies of accelerator project report indicators." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="frequency_id" foreignKey="auto_calculated_indicators_frequency_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="auto_calculated_indicators"/>
            <child column="frequency_id" foreignKey="standard_indicators_frequency_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="common_indicators"/>
            <child column="frequency_id" foreignKey="project_indicators_frequency_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="indicator_frequencies_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="indicator_frequencies_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="indicator_levels" remarks="(Enum) Levels of indicators for reports." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="level_id" foreignKey="auto_calculated_indicators_level_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="auto_calculated_indicators"/>
            <child column="level_id" foreignKey="common_indicators_level_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="common_indicators"/>
            <child column="level_id" foreignKey="project_indicators_level_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="indicator_levels_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="indicator_levels_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="internal_interests" remarks="(Enum) Types of notification categories for internal users." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="internal_interest_id" foreignKey="deliverable_categories_internal_interest_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverable_categories"/>
            <child column="internal_interest_id" foreignKey="user_internal_interests_internal_interest_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="user_internal_interests"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="internal_interests_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="internal_interests_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="modules" remarks="Possible steps in the workflow of an accelerator phase." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="module_id" foreignKey="application_modules_module_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="application_modules"/>
            <child column="module_id" foreignKey="deliverables_module_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverables"/>
            <child column="module_id" foreignKey="events_module_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="events"/>
            <child column="module_id" foreignKey="project_modules_module_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="project_modules"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="created_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="modules_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="modules_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="overview" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="preparation_materials" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="live_session_description" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="workshop_description" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="one_on_one_session_description" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="additional_resources" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="phase_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="modules_phase_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="accelerator_phases"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="position" nullable="false" remarks="This model's ordinal position in the modules spreadsheet. This can be used to present modules in the same order they appear in the spreadsheet." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="recorded_session_description" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="modules_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
      </table>
      <table name="participant_project_species" remarks="Species that are associated to a participant project" schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="project_id" nullable="true" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="participant_project_species_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="species_id" nullable="true" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="participant_project_species_species_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="species"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="submission_status_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="participant_project_species_submission_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="submission_statuses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="feedback" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="rationale" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="created_by" nullable="true" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="participant_project_species_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="modified_by" nullable="true" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="participant_project_species_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="internal_comment" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="species_native_category_id" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="participant_project_species_species_native_category_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="species_native_categories"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="participant_project_species_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="participant_project_species_project_id_species_id_key" unique="true">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="species_id"/>
         </index>
         <index name="participant_project_species_species_id_idx" unique="false">
            <column ascending="true" name="species_id"/>
         </index>
      </table>
      <table name="pipelines" remarks="(Enum) Deal pipelines for accelerator projects." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="pipeline_id" foreignKey="deal_stages_pipeline_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deal_stages"/>
            <child column="pipeline_id" foreignKey="project_accelerator_details_pipeline_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_accelerator_details"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="pipelines_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="pipelines_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="project_accelerator_details" remarks="Details about projects that are only relevant for accelerator applicants. The values here are for internal use, not exposed to end users." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_accelerator_details_project_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="pipeline_id" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="project_accelerator_details_pipeline_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="pipelines"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="deal_stage_id" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="project_accelerator_details_deal_stage_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deal_stages"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="application_reforestable_land" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="confirmed_reforestable_land" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="total_expansion_potential" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="num_native_species" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="min_carbon_accumulation" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="max_carbon_accumulation" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="per_hectare_budget" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="num_communities" nullable="true" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="investment_thesis" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="failure_risk" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="what_needs_to_be_true" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="deal_description" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="file_naming" nullable="true" remarks="Identifier that is included in generated filenames. This is often, but not necessarily, the same as the project name." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="dropbox_folder_path" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="google_folder_url" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="carbon_capacity" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="annual_carbon" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="total_carbon" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="21" name="hubspot_url" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="22" name="deal_name" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="23" name="logframe_url" nullable="true" remarks="Link to the project logical framework, monitoring and evaluation plan, and operational work plan." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="24" name="planting_sites_cql" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="25" name="project_boundaries_cql" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="project_id" sequenceNumberInPK="1"/>
         <index name="project_accelerator_details_pkey" unique="true">
            <column ascending="true" name="project_id"/>
         </index>
      </table>
      <table name="project_indicator_targets" remarks="Project-level baseline and end-of-project target values for project-specific indicators." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_indicator_targets_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="project_indicator_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_indicator_targets_project_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="project_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="baseline" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="end_target" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <primaryKey column="project_id" sequenceNumberInPK="1"/>
         <primaryKey column="project_indicator_id" sequenceNumberInPK="2"/>
         <index name="project_indicator_targets_pkey" unique="true">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="project_indicator_id"/>
         </index>
         <index name="project_indicator_targets_project_indicator_id_idx" unique="false">
            <column ascending="true" name="project_indicator_id"/>
         </index>
      </table>
      <table name="project_indicators" remarks="Indicators specific to one project to report on." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="project_indicator_id" foreignKey="project_indicator_targets_project_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="project_indicator_targets"/>
            <child column="project_indicator_id" foreignKey="report_project_indicator_targets_project_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="report_project_indicator_targets"/>
            <child column="project_indicator_id" foreignKey="report_project_indicators_project_indicator_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="report_project_indicators"/>
            <child column="project_indicator_id" foreignKey="published_project_indicator_baselines_project_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="funder" table="published_project_indicator_baselines"/>
            <child column="project_indicator_id" foreignKey="published_project_indicator_targets_project_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="funder" table="published_project_indicator_targets"/>
            <child column="project_indicator_id" foreignKey="published_report_project_indicators_project_indicator_id_fkey" implied="false" onDeleteCascade="false" schema="funder" table="published_report_project_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_indicators_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="level_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="project_indicators_level_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="indicator_levels"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="category_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="project_indicators_category_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="indicator_categories"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="description" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="ref_id" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="is_publishable" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="unit" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="primary_data_source" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="true" digits="0" id="11" name="active" nullable="false" remarks="" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="class_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="project_indicators_class_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="indicator_classes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="frequency_id" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="project_indicators_frequency_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="indicator_frequencies"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="tf_owner" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="0" digits="0" id="15" name="precision" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="project_indicators_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="project_indicators_project_id_idx" unique="false">
            <column ascending="true" name="project_id"/>
         </index>
      </table>
      <table name="project_modules" remarks="Which modules are assigned to which projects." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_modules_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="module_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_modules_module_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="modules"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="start_date" nullable="false" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="end_date" nullable="false" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="title" nullable="false" remarks="The title for the module for the project. This is shown above the module name in the module timeline." size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="project_id" sequenceNumberInPK="1"/>
         <primaryKey column="module_id" sequenceNumberInPK="2"/>
         <index name="project_modules_pkey" unique="true">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="module_id"/>
         </index>
         <index name="project_modules_module_id_idx" unique="false">
            <column ascending="true" name="module_id"/>
         </index>
         <checkConstraint constraint="(start_date &lt;= end_date)" name="dates_start_before_end"/>
      </table>
      <table name="project_overall_scores" remarks="Overall scores assigned to project by scorers." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_overall_scores_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="17" id="1" name="overall_score" nullable="true" remarks="" size="17" type="float8" typeCode="8"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="summary" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="details_url" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="created_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_overall_scores_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_overall_scores_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="project_id" sequenceNumberInPK="1"/>
         <index name="project_overall_scores_pkey" unique="true">
            <column ascending="true" name="project_id"/>
         </index>
      </table>
      <table name="project_report_configs" remarks="Configurations for accelerator project reports, including reporting dates and reporting frequencies." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="config_id" foreignKey="reports_config_id_project_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="reports"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="project_id" foreignKey="reports_config_id_project_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="reports"/>
            <parent column="id" foreignKey="project_report_configs_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="reporting_start_date" nullable="false" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="reporting_end_date" nullable="false" remarks="" size="13" type="date" typeCode="91"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="project_report_configs_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="project_report_configs_id_project_id_key" unique="true">
            <column ascending="true" name="id"/>
            <column ascending="true" name="project_id"/>
         </index>
         <index name="project_report_configs_project_id_idx" unique="false">
            <column ascending="true" name="project_id"/>
         </index>
         <checkConstraint constraint="(reporting_end_date &gt; reporting_start_date)" name="project_report_configs_check"/>
      </table>
      <table name="project_scores" remarks="Scores assigned to project by scorers." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_scores_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="phase_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="project_scores_phase_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="accelerator_phases"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="score_category_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="project_scores_score_category_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="score_categories"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="score" nullable="true" remarks="Integer score between -2 to 2. The score can be null to represent not yet scored." size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="qualitative" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="created_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_scores_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_scores_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="project_id" sequenceNumberInPK="1"/>
         <primaryKey column="phase_id" sequenceNumberInPK="2"/>
         <primaryKey column="score_category_id" sequenceNumberInPK="3"/>
         <index name="project_scores_pkey" unique="true">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="phase_id"/>
            <column ascending="true" name="score_category_id"/>
         </index>
         <index name="project_scores_project_id_idx" unique="false">
            <column ascending="true" name="project_id"/>
         </index>
         <checkConstraint constraint="((score &gt;= '-2'::integer) AND (score &lt;= 2))" name="project_scores_score_check"/>
      </table>
      <table name="project_vote_decisions" remarks="Calculated vote decisions for project." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_vote_decisions_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="phase_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="project_vote_decisions_phase_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="accelerator_phases"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="vote_option_id" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="project_vote_decisions_vote_option_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="vote_options"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="project_id" sequenceNumberInPK="1"/>
         <primaryKey column="phase_id" sequenceNumberInPK="2"/>
         <index name="project_vote_decisions_pkey" unique="true">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="phase_id"/>
         </index>
         <index name="project_vote_decisions_project_id_idx" unique="false">
            <column ascending="true" name="project_id"/>
         </index>
      </table>
      <table name="project_votes" remarks="Vote selected by voters." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="user_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_votes_user_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_votes_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="phase_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="project_votes_phase_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="accelerator_phases"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="vote_option_id" nullable="true" remarks="Vote option can be Yes/No/Conditional. The vote can be null to represent not yet voted." size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="project_votes_vote_option_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="vote_options"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="conditional_info" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="created_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_votes_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="project_votes_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="user_id" sequenceNumberInPK="1"/>
         <primaryKey column="project_id" sequenceNumberInPK="2"/>
         <primaryKey column="phase_id" sequenceNumberInPK="3"/>
         <index name="project_votes_pkey" unique="true">
            <column ascending="true" name="user_id"/>
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="phase_id"/>
         </index>
         <index name="project_votes_project_id_idx" unique="false">
            <column ascending="true" name="project_id"/>
         </index>
      </table>
      <table name="report_achievements" remarks="List of achievements for accelerator project reports." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="report_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_achievements_report_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="reports"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="position" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="achievement" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="report_id" sequenceNumberInPK="1"/>
         <primaryKey column="position" sequenceNumberInPK="2"/>
         <index name="report_achievements_pkey" unique="true">
            <column ascending="true" name="report_id"/>
            <column ascending="true" name="position"/>
         </index>
         <checkConstraint constraint="(&quot;position&quot; &gt;= 0)" name="report_achievements_position_check"/>
      </table>
      <table name="report_auto_calculated_indicator_targets" remarks="Project targets for auto-calculated indicators by year" schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_auto_calculated_indicator_targets_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="auto_calculated_indicator_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="report_auto_calculated_indicator_targets_auto_calculated_indica" implied="false" onDeleteCascade="true" schema="accelerator" table="auto_calculated_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="year" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="target" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <primaryKey column="project_id" sequenceNumberInPK="1"/>
         <primaryKey column="auto_calculated_indicator_id" sequenceNumberInPK="2"/>
         <primaryKey column="year" sequenceNumberInPK="3"/>
         <index name="report_auto_calculated_indicator_targets_pkey" unique="true">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="auto_calculated_indicator_id"/>
            <column ascending="true" name="year"/>
         </index>
         <index name="report_auto_calculated_indicator_targets_project_id_year_idx" unique="false">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="year"/>
         </index>
      </table>
      <table name="report_auto_calculated_indicators" remarks="Report entries of targets and values for auto-calculated indicators." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="report_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_auto_calculated_indicators_report_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="reports"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="auto_calculated_indicator_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="report_auto_calculated_indicators_auto_calculated_indicator_id_" implied="false" onDeleteCascade="false" schema="accelerator" table="auto_calculated_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="system_value" nullable="true" remarks="Value collected via Terraware data. Null before value is submitted." size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="system_time" nullable="true" remarks="System value recorded time. If null, the value is not recorded yet and a live query of Terraware data should be used instead." size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="override_value" nullable="true" remarks="Value inputted by accelerator admin to override system value. Null for no overrides." size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="projects_comments" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="progress_notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_auto_calculated_indicators_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="status_id" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="report_auto_calculated_indicators_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="report_indicator_statuses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="supporting_document_url" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="report_id" sequenceNumberInPK="1"/>
         <primaryKey column="auto_calculated_indicator_id" sequenceNumberInPK="2"/>
         <index name="report_auto_calculated_indicators_pkey" unique="true">
            <column ascending="true" name="report_id"/>
            <column ascending="true" name="auto_calculated_indicator_id"/>
         </index>
         <index name="report_auto_calculated_indicators_auto_calculated_indicator_id_" unique="false">
            <column ascending="true" name="auto_calculated_indicator_id"/>
         </index>
      </table>
      <table name="report_challenges" remarks="List of challenges and mitigation plans for accelerator project reports." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="report_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_challenges_report_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="reports"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="position" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="challenge" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="mitigation_plan" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="report_id" sequenceNumberInPK="1"/>
         <primaryKey column="position" sequenceNumberInPK="2"/>
         <index name="report_challenges_pkey" unique="true">
            <column ascending="true" name="report_id"/>
            <column ascending="true" name="position"/>
         </index>
         <checkConstraint constraint="(&quot;position&quot; &gt;= 0)" name="report_challenges_position_check"/>
      </table>
      <table name="report_common_indicator_targets" remarks="Project targets for standard indicators by year" schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_common_indicator_targets_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="common_indicator_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_common_indicator_targets_common_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="common_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="year" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="target" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <primaryKey column="project_id" sequenceNumberInPK="1"/>
         <primaryKey column="common_indicator_id" sequenceNumberInPK="2"/>
         <primaryKey column="year" sequenceNumberInPK="3"/>
         <index name="report_common_indicator_targets_pkey" unique="true">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="common_indicator_id"/>
            <column ascending="true" name="year"/>
         </index>
         <index name="report_common_indicator_targets_project_id_year_idx" unique="false">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="year"/>
         </index>
      </table>
      <table name="report_common_indicators" remarks="Report entries of targets and values for standard indicators." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="report_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_common_indicators_report_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="reports"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="common_indicator_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_common_indicators_common_indicator_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="common_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="value" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="projects_comments" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="progress_notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_common_indicators_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="status_id" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="report_common_indicators_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="report_indicator_statuses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="supporting_document_url" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="report_id" sequenceNumberInPK="1"/>
         <primaryKey column="common_indicator_id" sequenceNumberInPK="2"/>
         <index name="report_common_indicators_pkey" unique="true">
            <column ascending="true" name="report_id"/>
            <column ascending="true" name="common_indicator_id"/>
         </index>
         <index name="report_standard_metrics_report_id_standard_metric_id_idx" unique="false">
            <column ascending="true" name="report_id"/>
            <column ascending="true" name="common_indicator_id"/>
         </index>
         <index name="report_standard_metrics_standard_metric_id_idx" unique="false">
            <column ascending="true" name="common_indicator_id"/>
         </index>
      </table>
      <table name="report_indicator_statuses" remarks="(Enum) Statuses of accelerator project report indicators." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="status_id" foreignKey="report_auto_calculated_indicators_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="report_auto_calculated_indicators"/>
            <child column="status_id" foreignKey="report_common_indicators_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="report_common_indicators"/>
            <child column="status_id" foreignKey="report_project_indicators_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="report_project_indicators"/>
            <child column="status_id" foreignKey="published_report_auto_calculated_indicators_status_id_fkey" implied="false" onDeleteCascade="false" schema="funder" table="published_report_auto_calculated_indicators"/>
            <child column="status_id" foreignKey="published_report_common_indicators_status_id_fkey" implied="false" onDeleteCascade="false" schema="funder" table="published_report_common_indicators"/>
            <child column="status_id" foreignKey="published_report_project_indicators_status_id_fkey" implied="false" onDeleteCascade="false" schema="funder" table="published_report_project_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="report_indicator_statuses_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="report_indicator_statuses_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="report_photos" remarks="Photos for the accelerator project report." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="file_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="file_id" foreignKey="published_report_photos_report_id_file_id_fkey" implied="false" onDeleteCascade="false" schema="funder" table="published_report_photos"/>
            <parent column="id" foreignKey="report_photos_file_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="files"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="report_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="report_id" foreignKey="published_report_photos_report_id_file_id_fkey" implied="false" onDeleteCascade="false" schema="funder" table="published_report_photos"/>
            <parent column="id" foreignKey="report_photos_report_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="reports"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="deleted" nullable="false" remarks="Flag for photos to be deleted in the next publishing." size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="caption" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="file_id" sequenceNumberInPK="1"/>
         <index name="report_photos_pkey" unique="true">
            <column ascending="true" name="file_id"/>
         </index>
         <index name="report_photos_report_id_file_id_key" unique="true">
            <column ascending="true" name="report_id"/>
            <column ascending="true" name="file_id"/>
         </index>
         <index name="report_photos_report_id_idx" unique="false">
            <column ascending="true" name="report_id"/>
         </index>
      </table>
      <table name="report_project_indicator_targets" remarks="Project targets for project-specific indicators by year" schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_project_indicator_targets_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="project_indicator_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_project_indicator_targets_project_indicator_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="project_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="year" nullable="false" remarks="" size="10" type="int4" typeCode="4"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="target" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <primaryKey column="project_id" sequenceNumberInPK="1"/>
         <primaryKey column="project_indicator_id" sequenceNumberInPK="2"/>
         <primaryKey column="year" sequenceNumberInPK="3"/>
         <index name="report_project_indicator_targets_pkey" unique="true">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="project_indicator_id"/>
            <column ascending="true" name="year"/>
         </index>
         <index name="report_project_indicator_targets_project_id_year_idx" unique="false">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="year"/>
         </index>
      </table>
      <table name="report_project_indicators" remarks="Report entries of targets and values for project indicators." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="report_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_project_indicators_report_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="reports"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="project_indicator_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_project_indicators_project_indicator_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_indicators"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="value" nullable="true" remarks="" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="projects_comments" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="progress_notes" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="report_project_indicators_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="status_id" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="report_project_indicators_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="report_indicator_statuses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="supporting_document_url" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="report_id" sequenceNumberInPK="1"/>
         <primaryKey column="project_indicator_id" sequenceNumberInPK="2"/>
         <index name="report_project_indicators_pkey" unique="true">
            <column ascending="true" name="report_id"/>
            <column ascending="true" name="project_indicator_id"/>
         </index>
         <index name="report_project_indicators_project_indicator_id_idx" unique="false">
            <column ascending="true" name="project_indicator_id"/>
         </index>
         <index name="report_project_indicators_report_id_project_indicator_id_idx" unique="false">
            <column ascending="true" name="report_id"/>
            <column ascending="true" name="project_indicator_id"/>
         </index>
      </table>
      <table name="report_quarters" remarks="(Enum) Quarters of accelerator project reports." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="report_quarter_id" foreignKey="reports_report_quarter_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="reports"/>
            <child column="report_quarter_id" foreignKey="published_reports_report_quarter_id_fkey" implied="false" onDeleteCascade="false" schema="funder" table="published_reports"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="report_quarters_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="report_quarters_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="report_statuses" remarks="(Enum) Statuses of accelerator project reports." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="status_id" foreignKey="reports_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="reports"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="report_statuses_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="report_statuses_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="reports" remarks="Accelerator project reports." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="report_id" foreignKey="report_achievements_report_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="report_achievements"/>
            <child column="report_id" foreignKey="report_auto_calculated_indicators_report_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="report_auto_calculated_indicators"/>
            <child column="report_id" foreignKey="report_challenges_report_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="report_challenges"/>
            <child column="report_id" foreignKey="report_common_indicators_report_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="report_common_indicators"/>
            <child column="report_id" foreignKey="report_photos_report_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="report_photos"/>
            <child column="report_id" foreignKey="report_project_indicators_report_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="report_project_indicators"/>
            <child column="report_id" foreignKey="published_reports_report_id_fkey" implied="false" onDeleteCascade="true" schema="funder" table="published_reports"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="config_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="reports_config_id_project_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_report_configs"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="project_id" foreignKey="reports_config_id_project_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_report_configs"/>
            <parent column="id" foreignKey="reports_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="status_id" nullable="true" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="reports_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="report_statuses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="start_date" nullable="false" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="end_date" nullable="false" remarks="" size="13" type="date" typeCode="91"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="internal_comment" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="feedback" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="created_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="reports_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="reports_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="11" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="submitted_by" nullable="true" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="reports_submitted_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="13" name="submitted_time" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="highlights" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="report_quarter_id" nullable="true" remarks="Quarter of the report. Must be non-null for quarterly reports and null otherwise." size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="reports_report_quarter_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="report_quarters"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="16" name="upcoming_notification_sent_time" nullable="true" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="financial_summaries" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="additional_comments" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="reports_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="reports_end_date_idx" unique="false">
            <column ascending="true" name="end_date"/>
         </index>
         <index name="reports_project_id_idx" unique="false">
            <column ascending="true" name="project_id"/>
         </index>
         <checkConstraint constraint="(end_date &gt; start_date)" name="reports_check"/>
         <checkConstraint constraint="(((status_id = 1) AND (submitted_by IS NULL) AND (submitted_time IS NULL)) OR (((status_id = 2) OR (status_id = 3) OR (status_id = 4)) AND (submitted_by IS NOT NULL) AND (submitted_time IS NOT NULL)) OR (status_id = 5))" name="submitted_status"/>
      </table>
      <table name="score_categories" remarks="(Enum) Project score categories." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="score_category_id" foreignKey="project_scores_score_category_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_scores"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="score_categories_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="score_categories_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="submission_documents" remarks="Information about documents uploaded by users to satisfy deliverables. A deliverable can have multiple documents." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="submission_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="submission_documents_submission_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="submissions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="document_store_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="submission_documents_document_store_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="document_stores"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="created_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="submission_documents_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="4" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="name" nullable="false" remarks="System-generated filename. The file is stored using this name in the document store. This includes several elements such as the date and description." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="description" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="location" nullable="false" remarks="Location of file in the document store identified by `document_store_id`. This is used by the system to generate download links and includes whatever information is needed to generate a link for a given document store; if the document store supports permalinks then this may be a simple URL." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="original_name" nullable="true" remarks="Original filename as supplied by the client when the document was uploaded. Not required to be unique since the user can upload revised versions of documents." size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="submission_documents_project_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="projects"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="submission_documents_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="no_duplicate_names_for_project" unique="true">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="name"/>
         </index>
         <index name="submission_documents_submission_id_idx" unique="false">
            <column ascending="true" name="submission_id"/>
         </index>
      </table>
      <table name="submission_snapshots" remarks="Snapshot files associated to submissions" schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="file_id" nullable="true" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="submission_snapshots_file_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="files"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="submission_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="submission_snapshots_submission_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="submissions"/>
         </column>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="submission_snapshots_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="submission_snapshots_file_id_idx" unique="false">
            <column ascending="true" name="file_id"/>
         </index>
         <index name="submission_snapshots_submission_id_idx" unique="false">
            <column ascending="true" name="submission_id"/>
         </index>
      </table>
      <table name="submission_statuses" remarks="(Enum) Statuses of submissions of deliverables by specific projects." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="submission_status_id" foreignKey="participant_project_species_submission_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="participant_project_species"/>
            <child column="submission_status_id" foreignKey="submissions_submission_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="submissions"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="submission_statuses_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="submission_statuses_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
      <table name="submissions" remarks="Information about the current states of the information supplied by specific projects in response to deliverables." schema="accelerator" type="TABLE">
         <column autoUpdated="true" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <child column="submission_id" foreignKey="submission_documents_submission_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="submission_documents"/>
            <child column="submission_id" foreignKey="submission_snapshots_submission_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="submission_snapshots"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="project_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="submissions_project_id_fkey" implied="false" onDeleteCascade="true" schema="public" table="projects"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="deliverable_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="submissions_deliverable_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="deliverables"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="submission_status_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="submissions_submission_status_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="submission_statuses"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="created_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="submissions_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="modified_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="submissions_modified_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="modified_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="internal_comment" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="feedback" nullable="true" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="submissions_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="submissions_deliverable_id_idx" unique="false">
            <column ascending="true" name="deliverable_id"/>
         </index>
         <index name="submissions_project_id_deliverable_id_key" unique="true">
            <column ascending="true" name="project_id"/>
            <column ascending="true" name="deliverable_id"/>
         </index>
         <index name="submissions_project_id_idx" unique="false">
            <column ascending="true" name="project_id"/>
         </index>
      </table>
      <table name="user_internal_interests" remarks="Which internal interest categories are assigned to which internal users. This affects things like which accelerator admins are notified." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="user_id" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="user_internal_interests_user_id_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="internal_interest_id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <parent column="id" foreignKey="user_internal_interests_internal_interest_id_fkey" implied="false" onDeleteCascade="true" schema="accelerator" table="internal_interests"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="created_by" nullable="false" remarks="" size="19" type="int8" typeCode="-5">
            <parent column="id" foreignKey="user_internal_interests_created_by_fkey" implied="false" onDeleteCascade="false" schema="public" table="users"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="created_time" nullable="false" remarks="" size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="user_id" sequenceNumberInPK="1"/>
         <primaryKey column="internal_interest_id" sequenceNumberInPK="2"/>
         <index name="user_internal_interests_pkey" unique="true">
            <column ascending="true" name="user_id"/>
            <column ascending="true" name="internal_interest_id"/>
         </index>
      </table>
      <table name="vote_options" remarks="(Enum) Available vote options." schema="accelerator" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="id" nullable="false" remarks="" size="10" type="int4" typeCode="4">
            <child column="vote_option_id" foreignKey="project_vote_decisions_vote_option_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_vote_decisions"/>
            <child column="vote_option_id" foreignKey="project_votes_vote_option_id_fkey" implied="false" onDeleteCascade="false" schema="accelerator" table="project_votes"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="name" nullable="false" remarks="" size="2147483647" type="text" typeCode="12"/>
         <primaryKey column="id" sequenceNumberInPK="1"/>
         <index name="vote_options_pkey" unique="true">
            <column ascending="true" name="id"/>
         </index>
         <index name="vote_options_name_key" unique="true">
            <column ascending="true" name="name"/>
         </index>
      </table>
   </tables>
</database>
