From d1662abccb91be4844efc1508ff8b0427019a27c Mon Sep 17 00:00:00 2001
From: Karen Arutyunov <karen@codesynthesis.com>
Date: Wed, 1 Apr 2020 21:50:16 +0300
Subject: 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).
---
 libbrep/build-extra.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libbrep/build-extra.sql')

diff --git a/libbrep/build-extra.sql b/libbrep/build-extra.sql
index 9ecbcb1..7b9fec5 100644
--- a/libbrep/build-extra.sql
+++ b/libbrep/build-extra.sql
@@ -49,7 +49,7 @@ CREATE FOREIGN TABLE build_package (
   version_release TEXT NULL,
   internal_repository_tenant TEXT NULL,
   internal_repository_canonical_name TEXT NULL,
-  buildable BOOLEAN NOT NULL)
+  buildable_ BOOLEAN NOT NULL)
 SERVER package_server OPTIONS (table_name 'package');
 
 -- The foreign table for the build_package object builds member (that is of a
-- 
cgit v1.1

