<changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" database="pgsql" schema-name="package" version="1"> <changeset version="34"> <alter-table name="tenant"> <add-column name="unloaded_timestamp" type="BIGINT" null="true"/> <add-column name="unloaded_notify_interval" type="BIGINT" null="true"/> <add-index name="tenant_unloaded_timestamp_i"> <column name="unloaded_timestamp"/> </add-index> </alter-table> </changeset> <changeset version="33"> <add-table name="public_key" kind="object"> <column name="tenant" type="TEXT" null="false"/> <column name="fingerprint" type="TEXT" null="false"/> <column name="data" type="TEXT" null="false"/> <primary-key> <column name="tenant"/> <column name="fingerprint"/> </primary-key> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> </add-table> <alter-table name="package"> <add-column name="custom_bot" type="BOOLEAN" null="true"/> </alter-table> <add-table name="package_build_bot_keys" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="key_tenant" type="TEXT" null="false"/> <column name="key_fingerprint" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_build_bot_keys_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <index name="package_build_bot_keys_index_i"> <column name="index"/> </index> <foreign-key name="key_tenant_fk" deferrable="DEFERRED"> <column name="key_tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="key_fk" deferrable="DEFERRED"> <column name="key_tenant"/> <column name="key_fingerprint"/> <references table="public_key"> <column name="tenant"/> <column name="fingerprint"/> </references> </foreign-key> </add-table> <add-table name="package_build_config_bot_keys" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="config_index" type="BIGINT" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="key_tenant" type="TEXT" null="false"/> <column name="key_fingerprint" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_build_config_bot_keys_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <foreign-key name="key_tenant_fk" deferrable="DEFERRED"> <column name="key_tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="key_fk" deferrable="DEFERRED"> <column name="key_tenant"/> <column name="key_fingerprint"/> <references table="public_key"> <column name="tenant"/> <column name="fingerprint"/> </references> </foreign-key> </add-table> </changeset> <changeset version="32"> <alter-table name="tenant"> <add-column name="build_toolchain_name" type="TEXT" null="true"/> <add-column name="build_toolchain_version_epoch" type="INTEGER" null="true"/> <add-column name="build_toolchain_version_canonical_upstream" type="TEXT" null="true"/> <add-column name="build_toolchain_version_canonical_release" type="TEXT" null="true"/> <add-column name="build_toolchain_version_revision" type="INTEGER" null="true"/> <add-column name="build_toolchain_version_upstream" type="TEXT" null="true"/> <add-column name="build_toolchain_version_release" type="TEXT" null="true"/> </alter-table> </changeset> <changeset version="31"> <add-table name="package_build_auxiliaries" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="environment_name" type="TEXT" null="false"/> <column name="config" type="TEXT" null="false"/> <column name="comment" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_build_auxiliaries_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <index name="package_build_auxiliaries_index_i"> <column name="index"/> </index> </add-table> <add-table name="package_build_config_auxiliaries" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="config_index" type="BIGINT" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="environment_name" type="TEXT" null="false"/> <column name="config" type="TEXT" null="false"/> <column name="comment" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_build_config_auxiliaries_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> </add-table> </changeset> <changeset version="30"> <alter-table name="tenant"> <add-column name="service_id" type="TEXT" null="true"/> <add-column name="service_type" type="TEXT" null="true"/> <add-column name="service_data" type="TEXT" null="true"/> <add-column name="queued_timestamp" type="BIGINT" null="true"/> <add-index name="tenant_service_i" type="UNIQUE"> <column name="service_id"/> <column name="service_type"/> </add-index> <add-index name="tenant_service_id_i"> <column name="service_id"/> </add-index> </alter-table> </changeset> <changeset version="29"> <alter-table name="package_tests"> <add-column name="test_enable" type="TEXT" null="true"/> </alter-table> </changeset> <changeset version="28"> <alter-table name="package_build_configs"> <add-column name="config_email" type="TEXT" null="true"/> <add-column name="config_email_comment" type="TEXT" null="true"/> <add-column name="config_warning_email" type="TEXT" null="true"/> <add-column name="config_warning_email_comment" type="TEXT" null="true"/> <add-column name="config_error_email" type="TEXT" null="true"/> <add-column name="config_error_email_comment" type="TEXT" null="true"/> </alter-table> </changeset> <model version="27"> <table name="tenant" kind="object"> <column name="id" type="TEXT" null="false"/> <column name="private" type="BOOLEAN" null="false"/> <column name="interactive" type="TEXT" null="true"/> <column name="creation_timestamp" type="BIGINT" null="false"/> <column name="archived" type="BOOLEAN" null="false"/> <primary-key> <column name="id"/> </primary-key> </table> <table name="repository" kind="object"> <column name="tenant" type="TEXT" null="false"/> <column name="canonical_name" type="TEXT" null="false"/> <column name="location_url" type="TEXT" null="false"/> <column name="location_type" type="TEXT" null="false"/> <column name="display_name" type="TEXT" null="false"/> <column name="priority" type="INTEGER" null="false"/> <column name="interface_url" type="TEXT" null="true"/> <column name="email" type="TEXT" null="true"/> <column name="email_comment" type="TEXT" null="true"/> <column name="summary" type="TEXT" null="true"/> <column name="description" type="TEXT" null="true"/> <column name="cache_location_url" type="TEXT" null="false"/> <column name="cache_location_type" type="TEXT" null="false"/> <column name="certificate_fingerprint" type="TEXT" null="true"/> <column name="certificate_name" type="TEXT" null="true"/> <column name="certificate_organization" type="TEXT" null="true"/> <column name="certificate_email" type="TEXT" null="true"/> <column name="certificate_pem" type="TEXT" null="true"/> <column name="packages_timestamp" type="BIGINT" null="false"/> <column name="repositories_timestamp" type="BIGINT" null="false"/> <column name="internal" type="BOOLEAN" null="false"/> <column name="buildable" type="BOOLEAN" null="false"/> <primary-key> <column name="tenant"/> <column name="canonical_name"/> </primary-key> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> </table> <table name="repository_complements" kind="container"> <column name="repository_tenant" type="TEXT" null="false"/> <column name="repository_canonical_name" type="TEXT" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="complement_tenant" type="TEXT" null="false"/> <column name="complement_canonical_name" type="TEXT" null="false"/> <foreign-key name="repository_tenant_fk" deferrable="DEFERRED"> <column name="repository_tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="repository_fk" on-delete="CASCADE"> <column name="repository_tenant"/> <column name="repository_canonical_name"/> <references table="repository"> <column name="tenant"/> <column name="canonical_name"/> </references> </foreign-key> <index name="repository_complements_repository_i"> <column name="repository_tenant"/> <column name="repository_canonical_name"/> </index> <index name="repository_complements_index_i"> <column name="index"/> </index> <foreign-key name="complement_tenant_fk" deferrable="DEFERRED"> <column name="complement_tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="complement_fk" deferrable="DEFERRED"> <column name="complement_tenant"/> <column name="complement_canonical_name"/> <references table="repository"> <column name="tenant"/> <column name="canonical_name"/> </references> </foreign-key> </table> <table name="repository_prerequisites" kind="container"> <column name="repository_tenant" type="TEXT" null="false"/> <column name="repository_canonical_name" type="TEXT" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="prerequisite_tenant" type="TEXT" null="false"/> <column name="prerequisite_canonical_name" type="TEXT" null="false"/> <foreign-key name="repository_tenant_fk" deferrable="DEFERRED"> <column name="repository_tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="repository_fk" on-delete="CASCADE"> <column name="repository_tenant"/> <column name="repository_canonical_name"/> <references table="repository"> <column name="tenant"/> <column name="canonical_name"/> </references> </foreign-key> <index name="repository_prerequisites_repository_i"> <column name="repository_tenant"/> <column name="repository_canonical_name"/> </index> <index name="repository_prerequisites_index_i"> <column name="index"/> </index> <foreign-key name="prerequisite_tenant_fk" deferrable="DEFERRED"> <column name="prerequisite_tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="prerequisite_fk" deferrable="DEFERRED"> <column name="prerequisite_tenant"/> <column name="prerequisite_canonical_name"/> <references table="repository"> <column name="tenant"/> <column name="canonical_name"/> </references> </foreign-key> </table> <table name="package" kind="object"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="version_upstream" type="TEXT" null="false"/> <column name="version_release" type="TEXT" null="true"/> <column name="upstream_version" type="TEXT" null="true"/> <column name="project" type="CITEXT" null="false"/> <column name="priority" type="INTEGER" null="false"/> <column name="priority_comment" type="TEXT" null="false"/> <column name="summary" type="TEXT" null="false"/> <column name="description" type="TEXT" null="true"/> <column name="description_type" type="TEXT" null="true"/> <column name="package_description" type="TEXT" null="true"/> <column name="package_description_type" type="TEXT" null="true"/> <column name="changes" type="TEXT" null="true"/> <column name="changes_type" type="TEXT" null="true"/> <column name="url" type="TEXT" null="true"/> <column name="url_comment" type="TEXT" null="true"/> <column name="doc_url" type="TEXT" null="true"/> <column name="doc_url_comment" type="TEXT" null="true"/> <column name="src_url" type="TEXT" null="true"/> <column name="src_url_comment" type="TEXT" null="true"/> <column name="package_url" type="TEXT" null="true"/> <column name="package_url_comment" type="TEXT" null="true"/> <column name="email" type="TEXT" null="true"/> <column name="email_comment" type="TEXT" null="true"/> <column name="package_email" type="TEXT" null="true"/> <column name="package_email_comment" type="TEXT" null="true"/> <column name="build_email" type="TEXT" null="true"/> <column name="build_email_comment" type="TEXT" null="true"/> <column name="build_warning_email" type="TEXT" null="true"/> <column name="build_warning_email_comment" type="TEXT" null="true"/> <column name="build_error_email" type="TEXT" null="true"/> <column name="build_error_email_comment" type="TEXT" null="true"/> <column name="internal_repository_tenant" type="TEXT" null="true"/> <column name="internal_repository_canonical_name" type="TEXT" null="true"/> <column name="location" type="TEXT" null="true"/> <column name="fragment" type="TEXT" null="true"/> <column name="sha256sum" type="TEXT" null="true"/> <column name="buildable" type="BOOLEAN" null="false"/> <column name="unbuildable_reason" type="TEXT" null="true"/> <column name="search_index" type="tsvector" null="true"/> <primary-key> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </primary-key> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="internal_repository_tenant_fk" deferrable="DEFERRED"> <column name="internal_repository_tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="internal_repository_fk" deferrable="DEFERRED"> <column name="internal_repository_tenant"/> <column name="internal_repository_canonical_name"/> <references table="repository"> <column name="tenant"/> <column name="canonical_name"/> </references> </foreign-key> <index name="package_search_index_i" method="GIN"> <column name="search_index"/> </index> </table> <table name="package_license_alternatives" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="comment" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_license_alternatives_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <index name="package_license_alternatives_index_i"> <column name="index"/> </index> </table> <table name="package_licenses" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="alternative_index" type="BIGINT" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="license" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_licenses_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> </table> <table name="package_topics" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="topic" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_topics_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <index name="package_topics_index_i"> <column name="index"/> </index> </table> <table name="package_keywords" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="keyword" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_keywords_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <index name="package_keywords_index_i"> <column name="index"/> </index> </table> <table name="package_dependencies" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="buildtime" type="BOOLEAN" null="false"/> <column name="comment" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_dependencies_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <index name="package_dependencies_index_i"> <column name="index"/> </index> </table> <table name="package_dependency_alternatives" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="dependency_index" type="BIGINT" null="false"/> <column name="index" type="BIGINT" null="false"/> <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="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_dependency_alternatives_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> </table> <table name="package_dependency_alternative_dependencies" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="dependency_index" type="BIGINT" null="false"/> <column name="alternative_index" type="BIGINT" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="dep_name" type="CITEXT" null="false"/> <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_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_upstream" type="TEXT" null="true"/> <column name="dep_max_version_release" type="TEXT" null="true"/> <column name="dep_min_open" type="BOOLEAN" null="true"/> <column name="dep_max_open" type="BOOLEAN" null="true"/> <column name="dep_package_tenant" type="TEXT" null="true"/> <column name="dep_package_name" type="CITEXT" null="true"/> <column name="dep_package_version_epoch" type="INTEGER" null="true"/> <column name="dep_package_version_canonical_upstream" type="TEXT" null="true"/> <column name="dep_package_version_canonical_release" type="TEXT" null="true" options="COLLATE "C""/> <column name="dep_package_version_revision" type="INTEGER" null="true"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_dependency_alternative_dependencies_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <foreign-key name="dep_package_tenant_fk" deferrable="DEFERRED"> <column name="dep_package_tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="dep_package_fk" deferrable="DEFERRED"> <column name="dep_package_tenant"/> <column name="dep_package_name"/> <column name="dep_package_version_epoch"/> <column name="dep_package_version_canonical_upstream"/> <column name="dep_package_version_canonical_release"/> <column name="dep_package_version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> </table> <table name="package_requirements" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="buildtime" type="BOOLEAN" null="false"/> <column name="comment" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_requirements_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <index name="package_requirements_index_i"> <column name="index"/> </index> </table> <table name="package_requirement_alternatives" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="requirement_index" type="BIGINT" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="enable" type="TEXT" null="true"/> <column name="reflect" type="TEXT" null="true"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_requirement_alternatives_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> </table> <table name="package_requirement_alternative_requirements" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="requirement_index" type="BIGINT" null="false"/> <column name="alternative_index" type="BIGINT" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="id" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_requirement_alternative_requirements_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> </table> <table name="package_tests" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="test_name" type="CITEXT" null="false"/> <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_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_upstream" type="TEXT" null="true"/> <column name="test_max_version_release" type="TEXT" null="true"/> <column name="test_min_open" type="BOOLEAN" null="true"/> <column name="test_max_open" type="BOOLEAN" null="true"/> <column name="test_package_tenant" type="TEXT" null="true"/> <column name="test_package_name" type="CITEXT" null="true"/> <column name="test_package_version_epoch" type="INTEGER" null="true"/> <column name="test_package_version_canonical_upstream" type="TEXT" null="true"/> <column name="test_package_version_canonical_release" type="TEXT" null="true" options="COLLATE "C""/> <column name="test_package_version_revision" type="INTEGER" null="true"/> <column name="test_type" type="TEXT" null="false"/> <column name="test_buildtime" type="BOOLEAN" null="false"/> <column name="test_reflect" type="TEXT" null="true"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_tests_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <index name="package_tests_index_i"> <column name="index"/> </index> <foreign-key name="test_package_tenant_fk" deferrable="DEFERRED"> <column name="test_package_tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="test_package_fk" deferrable="DEFERRED"> <column name="test_package_tenant"/> <column name="test_package_name"/> <column name="test_package_version_epoch"/> <column name="test_package_version_canonical_upstream"/> <column name="test_package_version_canonical_release"/> <column name="test_package_version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> </table> <table name="package_builds" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="expression" type="TEXT" null="false"/> <column name="comment" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_builds_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <index name="package_builds_index_i"> <column name="index"/> </index> </table> <table name="package_build_constraints" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="exclusion" type="BOOLEAN" null="false"/> <column name="config" type="TEXT" null="false"/> <column name="target" type="TEXT" null="true"/> <column name="comment" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_build_constraints_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <index name="package_build_constraints_index_i"> <column name="index"/> </index> </table> <table name="package_build_configs" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="config_name" type="TEXT" null="false"/> <column name="config_arguments" type="TEXT" null="false"/> <column name="config_comment" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_build_configs_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <index name="package_build_configs_index_i"> <column name="index"/> </index> </table> <table name="package_build_config_builds" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="config_index" type="BIGINT" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="expression" type="TEXT" null="false"/> <column name="comment" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_build_config_builds_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> </table> <table name="package_build_config_constraints" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="config_index" type="BIGINT" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="exclusion" type="BOOLEAN" null="false"/> <column name="config" type="TEXT" null="false"/> <column name="target" type="TEXT" null="true"/> <column name="comment" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_build_config_constraints_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> </table> <table name="package_other_repositories" kind="container"> <column name="tenant" type="TEXT" null="false"/> <column name="name" type="CITEXT" null="false"/> <column name="version_epoch" type="INTEGER" null="false"/> <column name="version_canonical_upstream" type="TEXT" null="false"/> <column name="version_canonical_release" type="TEXT" null="false" options="COLLATE "C""/> <column name="version_revision" type="INTEGER" null="false"/> <column name="index" type="BIGINT" null="false"/> <column name="repository_tenant" type="TEXT" null="false"/> <column name="repository_canonical_name" type="TEXT" null="false"/> <foreign-key name="tenant_fk" deferrable="DEFERRED"> <column name="tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="object_id_fk" on-delete="CASCADE"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> <references table="package"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </references> </foreign-key> <index name="package_other_repositories_object_id_i"> <column name="tenant"/> <column name="name"/> <column name="version_epoch"/> <column name="version_canonical_upstream"/> <column name="version_canonical_release"/> <column name="version_revision"/> </index> <index name="package_other_repositories_index_i"> <column name="index"/> </index> <foreign-key name="repository_tenant_fk" deferrable="DEFERRED"> <column name="repository_tenant"/> <references table="tenant"> <column name="id"/> </references> </foreign-key> <foreign-key name="repository_fk" deferrable="DEFERRED"> <column name="repository_tenant"/> <column name="repository_canonical_name"/> <references table="repository"> <column name="tenant"/> <column name="canonical_name"/> </references> </foreign-key> </table> </model> </changelog>