aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package.xml
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-04-22 21:57:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-07-09 14:06:57 +0300
commit5d513688ae07d96910dd1eef83bdad4e9d780373 (patch)
tree402a87bbdb79a5a2392b714553e567465c3415c1 /bpkg/package.xml
parent50a5c7b14250dab7941e8b0a67dfe6c442d2c5a9 (diff)
Add support for linked configurations
Diffstat (limited to 'bpkg/package.xml')
-rw-r--r--bpkg/package.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/bpkg/package.xml b/bpkg/package.xml
index e54829c..edb6d09 100644
--- a/bpkg/package.xml
+++ b/bpkg/package.xml
@@ -1,4 +1,31 @@
<changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" database="sqlite" version="1">
+ <changeset version="9">
+ <add-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>
+ </add-table>
+ <alter-table name="main.selected_package_prerequisites">
+ <add-column name="configuration" type="TEXT" null="true"/>
+ <drop-foreign-key name="prerequisite_fk"/>
+ </alter-table>
+ </changeset>
+
<changeset version="8">
<alter-table name="main.repository">
<add-column name="local" type="INTEGER" null="true"/>