<changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" database="sqlite" version="1">
  <changeset version="26">
    <alter-table name="main.available_package_tests">
      <add-column name="test_enable" type="TEXT" null="true"/>
    </alter-table>
  </changeset>

  <changeset version="25">
    <alter-table name="main.selected_package_prerequisites">
      <drop-column name="config_dependency_index"/>
      <drop-column name="config_alternative_index"/>
    </alter-table>
    <add-table name="main.selected_package_dependency_alternatives" kind="container">
      <column name="package" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="index" type="INTEGER" null="true"/>
      <column name="position" type="INTEGER" null="true"/>
      <foreign-key name="package_fk" on-delete="CASCADE">
        <column name="package"/>
        <references table="main.selected_package">
          <column name="name"/>
        </references>
      </foreign-key>
      <index name="selected_package_dependency_alternatives_package_i">
        <column name="package"/>
      </index>
      <index name="selected_package_dependency_alternatives_index_i">
        <column name="index"/>
      </index>
    </add-table>
  </changeset>

  <changeset version="24">
    <alter-table name="main.selected_package">
      <add-column name="config_checksum" type="TEXT" null="true" default="''"/>
    </alter-table>
  </changeset>

  <changeset version="23">
    <alter-table name="main.available_package">
      <add-column name="type" type="TEXT" null="true"/>
    </alter-table>
    <add-table name="main.available_package_languages" kind="container">
      <column name="name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="version_epoch" type="INTEGER" null="true"/>
      <column name="version_canonical_upstream" type="TEXT" null="true"/>
      <column name="version_canonical_release" type="TEXT" null="true" options="COLLATE BINARY"/>
      <column name="version_revision" type="INTEGER" null="true"/>
      <column name="version_iteration" type="INTEGER" null="true"/>
      <column name="index" type="INTEGER" null="true"/>
      <column name="language_name" type="TEXT" null="true"/>
      <column name="language_impl" type="INTEGER" null="true"/>
      <foreign-key name="object_id_fk" on-delete="CASCADE">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
        <references table="main.available_package">
          <column name="name"/>
          <column name="version_epoch"/>
          <column name="version_canonical_upstream"/>
          <column name="version_canonical_release"/>
          <column name="version_revision"/>
          <column name="version_iteration"/>
        </references>
      </foreign-key>
      <index name="available_package_languages_object_id_i">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
      </index>
      <index name="available_package_languages_index_i">
        <column name="index"/>
      </index>
    </add-table>
  </changeset>

  <changeset version="22">
    <alter-table name="main.available_package">
      <add-column name="upstream_version" type="TEXT" null="true"/>
      <add-column name="project" type="TEXT" null="true" options="COLLATE NOCASE"/>
    </alter-table>
  </changeset>

  <changeset version="21">
    <add-table name="main.available_package_distribution_values" kind="container">
      <column name="name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="version_epoch" type="INTEGER" null="true"/>
      <column name="version_canonical_upstream" type="TEXT" null="true"/>
      <column name="version_canonical_release" type="TEXT" null="true" options="COLLATE BINARY"/>
      <column name="version_revision" type="INTEGER" null="true"/>
      <column name="version_iteration" type="INTEGER" null="true"/>
      <column name="index" type="INTEGER" null="true"/>
      <column name="dist_name" type="TEXT" null="true"/>
      <column name="dist_value" type="TEXT" null="true"/>
      <foreign-key name="object_id_fk" on-delete="CASCADE">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
        <references table="main.available_package">
          <column name="name"/>
          <column name="version_epoch"/>
          <column name="version_canonical_upstream"/>
          <column name="version_canonical_release"/>
          <column name="version_revision"/>
          <column name="version_iteration"/>
        </references>
      </foreign-key>
      <index name="available_package_distribution_values_object_id_i">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
      </index>
      <index name="available_package_distribution_values_index_i">
        <column name="index"/>
      </index>
    </add-table>
  </changeset>

  <changeset version="20">
    <alter-table name="main.available_package">
      <add-column name="alt_naming" type="INTEGER" null="true" default="0"/>
    </alter-table>
    <add-table name="main.available_package_buildfiles" kind="container">
      <column name="name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="version_epoch" type="INTEGER" null="true"/>
      <column name="version_canonical_upstream" type="TEXT" null="true"/>
      <column name="version_canonical_release" type="TEXT" null="true" options="COLLATE BINARY"/>
      <column name="version_revision" type="INTEGER" null="true"/>
      <column name="version_iteration" type="INTEGER" null="true"/>
      <column name="index" type="INTEGER" null="true"/>
      <column name="path" type="TEXT" null="true"/>
      <column name="content" type="TEXT" null="true"/>
      <foreign-key name="object_id_fk" on-delete="CASCADE">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
        <references table="main.available_package">
          <column name="name"/>
          <column name="version_epoch"/>
          <column name="version_canonical_upstream"/>
          <column name="version_canonical_release"/>
          <column name="version_revision"/>
          <column name="version_iteration"/>
        </references>
      </foreign-key>
      <index name="available_package_buildfiles_object_id_i">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
      </index>
      <index name="available_package_buildfiles_index_i">
        <column name="index"/>
      </index>
    </add-table>
  </changeset>

  <changeset version="19">
    <alter-table name="main.selected_package_prerequisites">
      <add-column name="config_dependency_index" type="INTEGER" null="true" default="0"/>
      <add-column name="config_alternative_index" type="INTEGER" null="true" default="0"/>
    </alter-table>
  </changeset>

  <changeset version="18">
    <add-table name="main.selected_package_config_variables" kind="container">
      <column name="package" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="index" type="INTEGER" null="true"/>
      <column name="name" type="TEXT" null="true"/>
      <column name="source" type="TEXT" null="true"/>
      <foreign-key name="package_fk" on-delete="CASCADE">
        <column name="package"/>
        <references table="main.selected_package">
          <column name="name"/>
        </references>
      </foreign-key>
      <index name="selected_package_config_variables_package_i">
        <column name="package"/>
      </index>
      <index name="selected_package_config_variables_index_i">
        <column name="index"/>
      </index>
    </add-table>
  </changeset>

  <changeset version="17">
    <alter-table name="main.selected_package">
      <add-column name="buildfiles_checksum" type="TEXT" null="true"/>
    </alter-table>
  </changeset>

  <changeset version="16">
    <alter-table name="main.available_package_tests">
      <add-column name="test_reflect" type="TEXT" null="true"/>
    </alter-table>
  </changeset>

  <changeset version="15">
    <alter-table name="main.available_package">
      <add-column name="bootstrap_build" type="TEXT" null="true" default="''"/>
      <add-column name="root_build" type="TEXT" null="true"/>
    </alter-table>
  </changeset>

  <changeset version="14">
    <alter-table name="main.available_package_dependencies">
      <drop-column name="conditional"/>
    </alter-table>
    <alter-table name="main.available_package_dependency_alternatives">
      <add-column name="reflect" type="TEXT" null="true"/>
      <add-column name="prefer" type="TEXT" null="true"/>
      <add-column name="accept" type="TEXT" null="true"/>
      <add-column name="require" type="TEXT" null="true"/>
    </alter-table>
  </changeset>

  <changeset version="13">
    <alter-table name="main.available_package_dependency_alternatives">
      <add-column name="enable" type="TEXT" null="true"/>
      <drop-column name="dep_name"/>
      <drop-column name="dep_min_version_epoch"/>
      <drop-column name="dep_min_version_canonical_upstream"/>
      <drop-column name="dep_min_version_canonical_release"/>
      <drop-column name="dep_min_version_revision"/>
      <drop-column name="dep_min_version_iteration"/>
      <drop-column name="dep_min_version_upstream"/>
      <drop-column name="dep_min_version_release"/>
      <drop-column name="dep_max_version_epoch"/>
      <drop-column name="dep_max_version_canonical_upstream"/>
      <drop-column name="dep_max_version_canonical_release"/>
      <drop-column name="dep_max_version_revision"/>
      <drop-column name="dep_max_version_iteration"/>
      <drop-column name="dep_max_version_upstream"/>
      <drop-column name="dep_max_version_release"/>
      <drop-column name="dep_min_open"/>
      <drop-column name="dep_max_open"/>
    </alter-table>
    <add-table name="main.available_package_dependency_alternative_dependencies" kind="container">
      <column name="name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="version_epoch" type="INTEGER" null="true"/>
      <column name="version_canonical_upstream" type="TEXT" null="true"/>
      <column name="version_canonical_release" type="TEXT" null="true" options="COLLATE BINARY"/>
      <column name="version_revision" type="INTEGER" null="true"/>
      <column name="version_iteration" type="INTEGER" null="true"/>
      <column name="dependency_index" type="INTEGER" null="true"/>
      <column name="alternative_index" type="INTEGER" null="true"/>
      <column name="index" type="INTEGER" null="true"/>
      <column name="dep_name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="dep_min_version_epoch" type="INTEGER" null="true"/>
      <column name="dep_min_version_canonical_upstream" type="TEXT" null="true"/>
      <column name="dep_min_version_canonical_release" type="TEXT" null="true"/>
      <column name="dep_min_version_revision" type="INTEGER" null="true"/>
      <column name="dep_min_version_iteration" type="INTEGER" null="true"/>
      <column name="dep_min_version_upstream" type="TEXT" null="true"/>
      <column name="dep_min_version_release" type="TEXT" null="true"/>
      <column name="dep_max_version_epoch" type="INTEGER" null="true"/>
      <column name="dep_max_version_canonical_upstream" type="TEXT" null="true"/>
      <column name="dep_max_version_canonical_release" type="TEXT" null="true"/>
      <column name="dep_max_version_revision" type="INTEGER" null="true"/>
      <column name="dep_max_version_iteration" type="INTEGER" null="true"/>
      <column name="dep_max_version_upstream" type="TEXT" null="true"/>
      <column name="dep_max_version_release" type="TEXT" null="true"/>
      <column name="dep_min_open" type="INTEGER" null="true"/>
      <column name="dep_max_open" type="INTEGER" null="true"/>
      <foreign-key name="object_id_fk" on-delete="CASCADE">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
        <references table="main.available_package">
          <column name="name"/>
          <column name="version_epoch"/>
          <column name="version_canonical_upstream"/>
          <column name="version_canonical_release"/>
          <column name="version_revision"/>
          <column name="version_iteration"/>
        </references>
      </foreign-key>
      <index name="available_package_dependency_alternative_dependencies_object_id_i">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
      </index>
    </add-table>
  </changeset>

  <model version="12">
    <table name="main.repository_fragment" kind="object">
      <column name="name" type="TEXT" null="true"/>
      <column name="url" type="TEXT" null="true"/>
      <column name="type" type="TEXT" null="true"/>
      <primary-key>
        <column name="name"/>
      </primary-key>
    </table>
    <table name="main.repository_fragment_complements" kind="container">
      <column name="repository_fragment" type="TEXT" null="true"/>
      <column name="complement" type="TEXT" null="true"/>
      <foreign-key name="repository_fragment_fk" on-delete="CASCADE">
        <column name="repository_fragment"/>
        <references table="main.repository_fragment">
          <column name="name"/>
        </references>
      </foreign-key>
      <index name="repository_fragment_complements_repository_fragment_i">
        <column name="repository_fragment"/>
      </index>
      <foreign-key name="complement_fk" deferrable="DEFERRED">
        <column name="complement"/>
        <references table="main.repository">
          <column name="name"/>
        </references>
      </foreign-key>
    </table>
    <table name="main.repository_fragment_prerequisites" kind="container">
      <column name="repository_fragment" type="TEXT" null="true"/>
      <column name="prerequisite" type="TEXT" null="true"/>
      <foreign-key name="repository_fragment_fk" on-delete="CASCADE">
        <column name="repository_fragment"/>
        <references table="main.repository_fragment">
          <column name="name"/>
        </references>
      </foreign-key>
      <index name="repository_fragment_prerequisites_repository_fragment_i">
        <column name="repository_fragment"/>
      </index>
      <foreign-key name="prerequisite_fk" deferrable="DEFERRED">
        <column name="prerequisite"/>
        <references table="main.repository">
          <column name="name"/>
        </references>
      </foreign-key>
    </table>
    <table name="main.repository" kind="object">
      <column name="name" type="TEXT" null="true"/>
      <column name="url" type="TEXT" null="true"/>
      <column name="type" type="TEXT" null="true"/>
      <column name="certificate" type="TEXT" null="true"/>
      <column name="local" type="INTEGER" null="true"/>
      <primary-key>
        <column name="name"/>
      </primary-key>
    </table>
    <table name="main.repository_fragments" kind="container">
      <column name="repository" type="TEXT" null="true"/>
      <column name="index" type="INTEGER" null="true"/>
      <column name="friendly_name" type="TEXT" null="true"/>
      <column name="fragment" type="TEXT" null="true"/>
      <foreign-key name="repository_fk" on-delete="CASCADE">
        <column name="repository"/>
        <references table="main.repository">
          <column name="name"/>
        </references>
      </foreign-key>
      <index name="repository_fragments_repository_i">
        <column name="repository"/>
      </index>
      <index name="repository_fragments_index_i">
        <column name="index"/>
      </index>
      <foreign-key name="fragment_fk" deferrable="DEFERRED">
        <column name="fragment"/>
        <references table="main.repository_fragment">
          <column name="name"/>
        </references>
      </foreign-key>
    </table>
    <table name="main.available_package" kind="object">
      <column name="name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="version_epoch" type="INTEGER" null="true"/>
      <column name="version_canonical_upstream" type="TEXT" null="true"/>
      <column name="version_canonical_release" type="TEXT" null="true" options="COLLATE BINARY"/>
      <column name="version_revision" type="INTEGER" null="true"/>
      <column name="version_iteration" type="INTEGER" null="true"/>
      <column name="version_upstream" type="TEXT" null="true"/>
      <column name="version_release" type="TEXT" null="true"/>
      <column name="sha256sum" type="TEXT" null="true"/>
      <primary-key>
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
      </primary-key>
    </table>
    <table name="main.available_package_locations" kind="container">
      <column name="name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="version_epoch" type="INTEGER" null="true"/>
      <column name="version_canonical_upstream" type="TEXT" null="true"/>
      <column name="version_canonical_release" type="TEXT" null="true" options="COLLATE BINARY"/>
      <column name="version_revision" type="INTEGER" null="true"/>
      <column name="version_iteration" type="INTEGER" null="true"/>
      <column name="repository_fragment" type="TEXT" null="true"/>
      <column name="location" type="TEXT" null="true"/>
      <foreign-key name="object_id_fk" on-delete="CASCADE">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
        <references table="main.available_package">
          <column name="name"/>
          <column name="version_epoch"/>
          <column name="version_canonical_upstream"/>
          <column name="version_canonical_release"/>
          <column name="version_revision"/>
          <column name="version_iteration"/>
        </references>
      </foreign-key>
      <index name="available_package_locations_object_id_i">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
      </index>
      <foreign-key name="repository_fragment_fk" deferrable="DEFERRED">
        <column name="repository_fragment"/>
        <references table="main.repository_fragment">
          <column name="name"/>
        </references>
      </foreign-key>
    </table>
    <table name="main.available_package_dependencies" kind="container">
      <column name="name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="version_epoch" type="INTEGER" null="true"/>
      <column name="version_canonical_upstream" type="TEXT" null="true"/>
      <column name="version_canonical_release" type="TEXT" null="true" options="COLLATE BINARY"/>
      <column name="version_revision" type="INTEGER" null="true"/>
      <column name="version_iteration" type="INTEGER" null="true"/>
      <column name="index" type="INTEGER" null="true"/>
      <column name="conditional" type="INTEGER" null="true"/>
      <column name="buildtime" type="INTEGER" null="true"/>
      <column name="comment" type="TEXT" null="true"/>
      <column name="type" type="TEXT" null="true"/>
      <foreign-key name="object_id_fk" on-delete="CASCADE">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
        <references table="main.available_package">
          <column name="name"/>
          <column name="version_epoch"/>
          <column name="version_canonical_upstream"/>
          <column name="version_canonical_release"/>
          <column name="version_revision"/>
          <column name="version_iteration"/>
        </references>
      </foreign-key>
      <index name="available_package_dependencies_object_id_i">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
      </index>
      <index name="available_package_dependencies_index_i">
        <column name="index"/>
      </index>
    </table>
    <table name="main.available_package_dependency_alternatives" kind="container">
      <column name="name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="version_epoch" type="INTEGER" null="true"/>
      <column name="version_canonical_upstream" type="TEXT" null="true"/>
      <column name="version_canonical_release" type="TEXT" null="true" options="COLLATE BINARY"/>
      <column name="version_revision" type="INTEGER" null="true"/>
      <column name="version_iteration" type="INTEGER" null="true"/>
      <column name="dependency_index" type="INTEGER" null="true"/>
      <column name="index" type="INTEGER" null="true"/>
      <column name="dep_name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="dep_min_version_epoch" type="INTEGER" null="true"/>
      <column name="dep_min_version_canonical_upstream" type="TEXT" null="true"/>
      <column name="dep_min_version_canonical_release" type="TEXT" null="true"/>
      <column name="dep_min_version_revision" type="INTEGER" null="true"/>
      <column name="dep_min_version_iteration" type="INTEGER" null="true"/>
      <column name="dep_min_version_upstream" type="TEXT" null="true"/>
      <column name="dep_min_version_release" type="TEXT" null="true"/>
      <column name="dep_max_version_epoch" type="INTEGER" null="true"/>
      <column name="dep_max_version_canonical_upstream" type="TEXT" null="true"/>
      <column name="dep_max_version_canonical_release" type="TEXT" null="true"/>
      <column name="dep_max_version_revision" type="INTEGER" null="true"/>
      <column name="dep_max_version_iteration" type="INTEGER" null="true"/>
      <column name="dep_max_version_upstream" type="TEXT" null="true"/>
      <column name="dep_max_version_release" type="TEXT" null="true"/>
      <column name="dep_min_open" type="INTEGER" null="true"/>
      <column name="dep_max_open" type="INTEGER" null="true"/>
      <foreign-key name="object_id_fk" on-delete="CASCADE">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
        <references table="main.available_package">
          <column name="name"/>
          <column name="version_epoch"/>
          <column name="version_canonical_upstream"/>
          <column name="version_canonical_release"/>
          <column name="version_revision"/>
          <column name="version_iteration"/>
        </references>
      </foreign-key>
      <index name="available_package_dependency_alternatives_object_id_i">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
      </index>
    </table>
    <table name="main.selected_package" kind="object">
      <column name="name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="version_epoch" type="INTEGER" null="true"/>
      <column name="version_canonical_upstream" type="TEXT" null="true"/>
      <column name="version_canonical_release" type="TEXT" null="true"/>
      <column name="version_revision" type="INTEGER" null="true"/>
      <column name="version_iteration" type="INTEGER" null="true"/>
      <column name="version_upstream" type="TEXT" null="true"/>
      <column name="version_release" type="TEXT" null="true"/>
      <column name="state" type="TEXT" null="true"/>
      <column name="substate" type="TEXT" null="true"/>
      <column name="hold_package" type="INTEGER" null="true"/>
      <column name="hold_version" type="INTEGER" null="true"/>
      <column name="repository_fragment_url" type="TEXT" null="true"/>
      <column name="repository_fragment_type" type="TEXT" null="true"/>
      <column name="archive" type="TEXT" null="true"/>
      <column name="purge_archive" type="INTEGER" null="true"/>
      <column name="src_root" type="TEXT" null="true"/>
      <column name="purge_src" type="INTEGER" null="true"/>
      <column name="manifest_checksum" type="TEXT" null="true"/>
      <column name="out_root" type="TEXT" null="true"/>
      <primary-key>
        <column name="name"/>
      </primary-key>
    </table>
    <table name="main.selected_package_prerequisites" kind="container">
      <column name="package" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="prerequisite" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="min_version_epoch" type="INTEGER" null="true"/>
      <column name="min_version_canonical_upstream" type="TEXT" null="true"/>
      <column name="min_version_canonical_release" type="TEXT" null="true"/>
      <column name="min_version_revision" type="INTEGER" null="true"/>
      <column name="min_version_iteration" type="INTEGER" null="true"/>
      <column name="min_version_upstream" type="TEXT" null="true"/>
      <column name="min_version_release" type="TEXT" null="true"/>
      <column name="max_version_epoch" type="INTEGER" null="true"/>
      <column name="max_version_canonical_upstream" type="TEXT" null="true"/>
      <column name="max_version_canonical_release" type="TEXT" null="true"/>
      <column name="max_version_revision" type="INTEGER" null="true"/>
      <column name="max_version_iteration" type="INTEGER" null="true"/>
      <column name="max_version_upstream" type="TEXT" null="true"/>
      <column name="max_version_release" type="TEXT" null="true"/>
      <column name="min_open" type="INTEGER" null="true"/>
      <column name="max_open" type="INTEGER" null="true"/>
      <column name="configuration" type="TEXT" null="true"/>
      <foreign-key name="package_fk" on-delete="CASCADE">
        <column name="package"/>
        <references table="main.selected_package">
          <column name="name"/>
        </references>
      </foreign-key>
      <index name="selected_package_prerequisites_package_i">
        <column name="package"/>
      </index>
    </table>
    <table name="main.certificate" kind="object">
      <column name="id" type="TEXT" null="true"/>
      <column name="fingerprint" type="TEXT" null="true"/>
      <column name="name" type="TEXT" null="true"/>
      <column name="organization" type="TEXT" null="true"/>
      <column name="email" type="TEXT" null="true"/>
      <column name="start_date" type="INTEGER" null="true"/>
      <column name="end_date" type="INTEGER" null="true"/>
      <primary-key>
        <column name="id"/>
      </primary-key>
    </table>
    <table name="main.available_package_tests" kind="container">
      <column name="name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="version_epoch" type="INTEGER" null="true"/>
      <column name="version_canonical_upstream" type="TEXT" null="true"/>
      <column name="version_canonical_release" type="TEXT" null="true" options="COLLATE BINARY"/>
      <column name="version_revision" type="INTEGER" null="true"/>
      <column name="version_iteration" type="INTEGER" null="true"/>
      <column name="index" type="INTEGER" null="true"/>
      <column name="test_name" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="test_min_version_epoch" type="INTEGER" null="true"/>
      <column name="test_min_version_canonical_upstream" type="TEXT" null="true"/>
      <column name="test_min_version_canonical_release" type="TEXT" null="true"/>
      <column name="test_min_version_revision" type="INTEGER" null="true"/>
      <column name="test_min_version_iteration" type="INTEGER" null="true"/>
      <column name="test_min_version_upstream" type="TEXT" null="true"/>
      <column name="test_min_version_release" type="TEXT" null="true"/>
      <column name="test_max_version_epoch" type="INTEGER" null="true"/>
      <column name="test_max_version_canonical_upstream" type="TEXT" null="true"/>
      <column name="test_max_version_canonical_release" type="TEXT" null="true"/>
      <column name="test_max_version_revision" type="INTEGER" null="true"/>
      <column name="test_max_version_iteration" type="INTEGER" null="true"/>
      <column name="test_max_version_upstream" type="TEXT" null="true"/>
      <column name="test_max_version_release" type="TEXT" null="true"/>
      <column name="test_min_open" type="INTEGER" null="true"/>
      <column name="test_max_open" type="INTEGER" null="true"/>
      <column name="test_type" type="TEXT" null="true"/>
      <column name="test_buildtime" type="INTEGER" null="true" default="0"/>
      <foreign-key name="object_id_fk" on-delete="CASCADE">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
        <references table="main.available_package">
          <column name="name"/>
          <column name="version_epoch"/>
          <column name="version_canonical_upstream"/>
          <column name="version_canonical_release"/>
          <column name="version_revision"/>
          <column name="version_iteration"/>
        </references>
      </foreign-key>
      <index name="available_package_tests_object_id_i">
        <column name="name"/>
        <column name="version_epoch"/>
        <column name="version_canonical_upstream"/>
        <column name="version_canonical_release"/>
        <column name="version_revision"/>
        <column name="version_iteration"/>
      </index>
      <index name="available_package_tests_index_i">
        <column name="index"/>
      </index>
    </table>
    <table name="main.configuration" kind="object">
      <column name="id" type="INTEGER" null="true"/>
      <column name="uuid" type="TEXT" null="true"/>
      <column name="name" type="TEXT" null="true"/>
      <column name="type" type="TEXT" null="true"/>
      <column name="path" type="TEXT" null="true"/>
      <column name="explicit" type="INTEGER" null="true"/>
      <primary-key auto="true">
        <column name="id"/>
      </primary-key>
      <index name="configuration_uuid_i" type="UNIQUE">
        <column name="uuid"/>
      </index>
      <index name="configuration_name_i" type="UNIQUE">
        <column name="name"/>
      </index>
      <index name="configuration_path_i" type="UNIQUE">
        <column name="path"/>
      </index>
    </table>
  </model>
</changelog>
