<?xml version="1.0" encoding="UTF-8"?>
<database name="cxgn" schema="metadata" type="PostgreSQL - 8.1.11">
   <tables>
      <table name="attribution" numRows="4011" remarks="" schema="metadata" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('attribution_attribution_id_seq'::regclass)" digits="0" id="0" name="attribution_id" nullable="false" remarks="" size="19" type="bigserial">
            <child column="attribution_id" foreignKey="attribution_id_fk" implied="false" onDeleteCascade="false" table="attribution_to"/>
         </column>
         <column autoUpdated="false" digits="0" id="1" name="database_name" nullable="true" remarks="" size="255" type="varchar"/>
         <column autoUpdated="false" digits="0" id="2" name="table_name" nullable="true" remarks="" size="255" type="varchar"/>
         <column autoUpdated="false" digits="0" id="3" name="primary_key_column_name" nullable="true" remarks="" size="255" type="varchar"/>
         <column autoUpdated="false" digits="0" id="4" name="row_id" nullable="true" remarks="" size="19" type="int8"/>
         <primaryKey column="attribution_id" sequenceNumberInPK="1"/>
         <index name="attribution_pkey" unique="true">
            <column ascending="true" name="attribution_id"/>
         </index>
         <index name="referred_to_db_row_unique" unique="true">
            <column ascending="true" name="database_name"/>
            <column ascending="true" name="table_name"/>
            <column ascending="true" name="row_id"/>
         </index>
      </table>
      <table name="attribution_to" numRows="4011" remarks="" schema="metadata" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('attribution_to_attribution_to_id_seq'::regclass)" digits="0" id="0" name="attribution_to_id" nullable="false" remarks="" size="19" type="bigserial"/>
         <column autoUpdated="false" digits="0" id="1" name="attribution_id" nullable="true" remarks="" size="19" type="int8">
            <parent column="attribution_id" foreignKey="attribution_id_fk" implied="false" onDeleteCascade="false" table="attribution"/>
         </column>
         <column autoUpdated="false" digits="0" id="2" name="person_id" nullable="true" remarks="" size="19" type="int8"/>
         <column autoUpdated="false" digits="0" id="3" name="organization_id" nullable="true" remarks="" size="19" type="int8"/>
         <column autoUpdated="false" digits="0" id="4" name="project_id" nullable="true" remarks="" size="19" type="int8"/>
         <column autoUpdated="false" digits="0" id="5" name="role_id" nullable="true" remarks="" size="19" type="int8">
            <parent column="role_id" foreignKey="role_id_fk" implied="false" onDeleteCascade="false" table="roles"/>
         </column>
         <primaryKey column="attribution_to_id" sequenceNumberInPK="1"/>
         <index name="attribution_to_pkey" unique="true">
            <column ascending="true" name="attribution_to_id"/>
         </index>
      </table>
      <table name="comments" numRows="0" remarks="" schema="metadata" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('comments_comment_id_seq'::regclass)" digits="0" id="0" name="comment_id" nullable="false" remarks="" size="19" type="bigserial"/>
         <column autoUpdated="false" digits="0" id="1" name="attribution_id" nullable="true" remarks="" size="19" type="int8"/>
         <column autoUpdated="false" digits="0" id="2" name="comment_text" nullable="true" remarks="" size="255" type="varchar"/>
         <primaryKey column="comment_id" sequenceNumberInPK="1"/>
         <index name="comments_pkey" unique="true">
            <column ascending="true" name="comment_id"/>
         </index>
      </table>
      <table name="roles" numRows="5" remarks="" schema="metadata" type="TABLE">
         <column autoUpdated="true" defaultValue="nextval('roles_role_id_seq'::regclass)" digits="0" id="0" name="role_id" nullable="false" remarks="" size="19" type="bigserial">
            <child column="role_id" foreignKey="role_id_fk" implied="false" onDeleteCascade="false" table="attribution_to"/>
         </column>
         <column autoUpdated="false" digits="0" id="1" name="role_name" nullable="true" remarks="" size="255" type="varchar"/>
         <column autoUpdated="false" digits="0" id="2" name="role_description" nullable="true" remarks="" size="255" type="varchar"/>
         <primaryKey column="role_id" sequenceNumberInPK="1"/>
         <index name="roles_pkey" unique="true">
            <column ascending="true" name="role_id"/>
         </index>
      </table>
   </tables>
</database>
