<changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" database="sqlite" version="1">
  <changeset version="30">
    <alter-table name="main.selected_package">
      <add-column name="has_dependency_constraint" type="INTEGER" null="true" default="0"/>
    </alter-table>
    <alter-table name="main.selected_package_prerequisites">
      <add-column name="type" type="TEXT" null="true" default="'dependency'"/>
    </alter-table>
  </changeset>

  <changeset version="29">
    <alter-table name="main.selected_package_prerequisites">
      <add-column name="buildtime" type="INTEGER" null="true" default="0"/>
      <add-column name="runtime" type="INTEGER" null="true" default="0"/>
    </alter-table>
  </changeset>

  <changeset version="28">
    <alter-table name="main.configuration">
      <add-column name="fetch_cache_mode" type="TEXT" null="true"/>
    </alter-table>
  </changeset>

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

  <model version="26">
    <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"/>
      <column name="bootstrap_build" type="TEXT" null="true" default="''"/>
      <column name="root_build" type="TEXT" null="true"/>
      <column name="alt_naming" type="INTEGER" null="true" default="0"/>
      <column name="upstream_version" type="TEXT" null="true"/>
      <column name="project" type="TEXT" null="true" options="COLLATE NOCASE"/>
      <column name="type" 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="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="enable" type="TEXT" null="true"/>
      <column name="reflect" type="TEXT" null="true"/>
      <column name="prefer" type="TEXT" null="true"/>
      <column name="accept" type="TEXT" null="true"/>
      <column name="require" 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_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"/>
      <column name="buildfiles_checksum" type="TEXT" null="true"/>
      <column name="config_checksum" type="TEXT" null="true" default="''"/>
      <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"/>
      <column name="test_reflect" type="TEXT" null="true"/>
      <column name="test_enable" 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_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>
    <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>
    </table>
    <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>
    </table>
    <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>
    </table>
    <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>
    </table>
    <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>
    </table>
    <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>
    </table>
  </model>
</changelog>
