aboutsummaryrefslogtreecommitdiff
path: root/libbrep/build.xml
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-07-09 10:53:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-07-29 10:25:32 +0300
commita6f60b5c2857f96b43b1e7429a78af9b20db24b0 (patch)
tree354b96f32eb8e64d28e2c95297dddb234e911794 /libbrep/build.xml
parentcca498933cbb1d6e025c7d12ee79eac56e09fd44 (diff)
Drop all database migrations to be backward compatible with only 0.17.0 (one minor version behind)
Diffstat (limited to 'libbrep/build.xml')
-rw-r--r--libbrep/build.xml131
1 files changed, 57 insertions, 74 deletions
diff --git a/libbrep/build.xml b/libbrep/build.xml
index 90b4b4f..d58e5f4 100644
--- a/libbrep/build.xml
+++ b/libbrep/build.xml
@@ -1,12 +1,61 @@
<changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" database="pgsql" schema-name="build" version="1">
- <changeset version="28"/>
-
- <changeset version="27"/>
-
- <changeset version="26"/>
-
- <changeset version="25">
- <add-table name="build_auxiliary_machines" kind="container">
+ <model version="28">
+ <table name="build" kind="object">
+ <column name="package_tenant" type="TEXT" null="false"/>
+ <column name="package_name" type="CITEXT" null="false"/>
+ <column name="package_version_epoch" type="INTEGER" null="false"/>
+ <column name="package_version_canonical_upstream" type="TEXT" null="false"/>
+ <column name="package_version_canonical_release" type="TEXT" null="false" options="COLLATE &quot;C&quot;"/>
+ <column name="package_version_revision" type="INTEGER" null="false"/>
+ <column name="target" type="TEXT" null="false"/>
+ <column name="target_config_name" type="TEXT" null="false"/>
+ <column name="package_config_name" type="TEXT" null="false"/>
+ <column name="toolchain_name" type="TEXT" null="false"/>
+ <column name="toolchain_version_epoch" type="INTEGER" null="false"/>
+ <column name="toolchain_version_canonical_upstream" type="TEXT" null="false"/>
+ <column name="toolchain_version_canonical_release" type="TEXT" null="false" options="COLLATE &quot;C&quot;"/>
+ <column name="toolchain_version_revision" type="INTEGER" null="false"/>
+ <column name="package_version_upstream" type="TEXT" null="false"/>
+ <column name="package_version_release" type="TEXT" null="true"/>
+ <column name="toolchain_version_upstream" type="TEXT" null="false"/>
+ <column name="toolchain_version_release" type="TEXT" null="true"/>
+ <column name="state" type="TEXT" null="false"/>
+ <column name="interactive" type="TEXT" null="true"/>
+ <column name="timestamp" type="BIGINT" null="false"/>
+ <column name="force" type="TEXT" null="false"/>
+ <column name="status" type="TEXT" null="true"/>
+ <column name="soft_timestamp" type="BIGINT" null="false"/>
+ <column name="hard_timestamp" type="BIGINT" null="false"/>
+ <column name="agent_fingerprint" type="TEXT" null="true"/>
+ <column name="agent_challenge" type="TEXT" null="true"/>
+ <column name="controller_checksum" type="TEXT" null="false"/>
+ <column name="machine_checksum" type="TEXT" null="false"/>
+ <column name="agent_checksum" type="TEXT" null="true"/>
+ <column name="worker_checksum" type="TEXT" null="true"/>
+ <column name="dependency_checksum" type="TEXT" null="true"/>
+ <column name="machine" type="TEXT" null="false"/>
+ <column name="machine_summary" type="TEXT" null="false"/>
+ <primary-key>
+ <column name="package_tenant"/>
+ <column name="package_name"/>
+ <column name="package_version_epoch"/>
+ <column name="package_version_canonical_upstream"/>
+ <column name="package_version_canonical_release"/>
+ <column name="package_version_revision"/>
+ <column name="target"/>
+ <column name="target_config_name"/>
+ <column name="package_config_name"/>
+ <column name="toolchain_name"/>
+ <column name="toolchain_version_epoch"/>
+ <column name="toolchain_version_canonical_upstream"/>
+ <column name="toolchain_version_canonical_release"/>
+ <column name="toolchain_version_revision"/>
+ </primary-key>
+ <index name="build_timestamp_i">
+ <column name="timestamp"/>
+ </index>
+ </table>
+ <table name="build_auxiliary_machines" kind="container">
<column name="package_tenant" type="TEXT" null="false"/>
<column name="package_name" type="CITEXT" null="false"/>
<column name="package_version_epoch" type="INTEGER" null="false"/>
@@ -75,72 +124,6 @@
<index name="build_auxiliary_machines_index_i">
<column name="index"/>
</index>
- </add-table>
- </changeset>
-
- <changeset version="24"/>
-
- <changeset version="23"/>
-
- <changeset version="22"/>
-
- <changeset version="21"/>
-
- <model version="20">
- <table name="build" kind="object">
- <column name="package_tenant" type="TEXT" null="false"/>
- <column name="package_name" type="CITEXT" null="false"/>
- <column name="package_version_epoch" type="INTEGER" null="false"/>
- <column name="package_version_canonical_upstream" type="TEXT" null="false"/>
- <column name="package_version_canonical_release" type="TEXT" null="false" options="COLLATE &quot;C&quot;"/>
- <column name="package_version_revision" type="INTEGER" null="false"/>
- <column name="target" type="TEXT" null="false"/>
- <column name="target_config_name" type="TEXT" null="false"/>
- <column name="package_config_name" type="TEXT" null="false"/>
- <column name="toolchain_name" type="TEXT" null="false"/>
- <column name="toolchain_version_epoch" type="INTEGER" null="false"/>
- <column name="toolchain_version_canonical_upstream" type="TEXT" null="false"/>
- <column name="toolchain_version_canonical_release" type="TEXT" null="false" options="COLLATE &quot;C&quot;"/>
- <column name="toolchain_version_revision" type="INTEGER" null="false"/>
- <column name="package_version_upstream" type="TEXT" null="false"/>
- <column name="package_version_release" type="TEXT" null="true"/>
- <column name="toolchain_version_upstream" type="TEXT" null="false"/>
- <column name="toolchain_version_release" type="TEXT" null="true"/>
- <column name="state" type="TEXT" null="false"/>
- <column name="interactive" type="TEXT" null="true"/>
- <column name="timestamp" type="BIGINT" null="false"/>
- <column name="force" type="TEXT" null="false"/>
- <column name="status" type="TEXT" null="true"/>
- <column name="soft_timestamp" type="BIGINT" null="false"/>
- <column name="hard_timestamp" type="BIGINT" null="false"/>
- <column name="agent_fingerprint" type="TEXT" null="true"/>
- <column name="agent_challenge" type="TEXT" null="true"/>
- <column name="machine" type="TEXT" null="false"/>
- <column name="machine_summary" type="TEXT" null="false"/>
- <column name="controller_checksum" type="TEXT" null="false"/>
- <column name="machine_checksum" type="TEXT" null="false"/>
- <column name="agent_checksum" type="TEXT" null="true"/>
- <column name="worker_checksum" type="TEXT" null="true"/>
- <column name="dependency_checksum" type="TEXT" null="true"/>
- <primary-key>
- <column name="package_tenant"/>
- <column name="package_name"/>
- <column name="package_version_epoch"/>
- <column name="package_version_canonical_upstream"/>
- <column name="package_version_canonical_release"/>
- <column name="package_version_revision"/>
- <column name="target"/>
- <column name="target_config_name"/>
- <column name="package_config_name"/>
- <column name="toolchain_name"/>
- <column name="toolchain_version_epoch"/>
- <column name="toolchain_version_canonical_upstream"/>
- <column name="toolchain_version_canonical_release"/>
- <column name="toolchain_version_revision"/>
- </primary-key>
- <index name="build_timestamp_i">
- <column name="timestamp"/>
- </index>
</table>
<table name="build_results" kind="container">
<column name="package_tenant" type="TEXT" null="false"/>