aboutsummaryrefslogtreecommitdiff
path: root/libbrep/package.xml
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-04-01 21:50:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-04-05 12:55:51 +0300
commitd1662abccb91be4844efc1508ff8b0427019a27c (patch)
tree6a0a8e1f86b51f97af67e2b65d20898cc42218b2 /libbrep/package.xml
parentca708a3f172e2f0ffab8638087b3e478de06b996 (diff)
Prepare to replacing package buildable flag with enumeration
Note that changing the data member type is not automatically handled by the ODB migration machinery. Thus, we split the schema change into two steps, with this commit implementing the first step (see migrate/migrate.cxx for details).
Diffstat (limited to 'libbrep/package.xml')
-rw-r--r--libbrep/package.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbrep/package.xml b/libbrep/package.xml
index 785ae0f..292cd05 100644
--- a/libbrep/package.xml
+++ b/libbrep/package.xml
@@ -1,4 +1,11 @@
<changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" database="pgsql" schema-name="package" version="1">
+ <changeset version="18">
+ <alter-table name="package">
+ <add-column name="buildable_" type="BOOLEAN" null="false"/>
+ <drop-column name="buildable"/>
+ </alter-table>
+ </changeset>
+
<model version="17">
<table name="tenant" kind="object">
<column name="id" type="TEXT" null="false"/>