From 205fb9013a3d387478ada8dc30b4da4ec20051a3 Mon Sep 17 00:00:00 2001
From: Karen Arutyunov <karen@codesynthesis.com>
Date: Fri, 29 Sep 2023 11:54:13 +0300
Subject: Add support for *-build-*email package manifest values

---
 libbrep/build-extra.sql | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

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

diff --git a/libbrep/build-extra.sql b/libbrep/build-extra.sql
index b1bd04f..9ffbac1 100644
--- a/libbrep/build-extra.sql
+++ b/libbrep/build-extra.sql
@@ -61,6 +61,12 @@ CREATE FOREIGN TABLE build_package (
   version_upstream TEXT NOT NULL,
   version_release TEXT NULL,
   project CITEXT NOT NULL,
+  build_email TEXT NULL,
+  build_email_comment TEXT NULL,
+  build_warning_email TEXT NULL,
+  build_warning_email_comment TEXT NULL,
+  build_error_email TEXT NULL,
+  build_error_email_comment TEXT NULL,
   internal_repository_tenant TEXT NULL,
   internal_repository_canonical_name TEXT NULL,
   buildable BOOLEAN NOT NULL)
@@ -189,7 +195,13 @@ CREATE FOREIGN TABLE build_package_configs (
   index BIGINT NOT NULL,
   config_name TEXT NOT NULL,
   config_arguments TEXT NULL,
-  config_comment TEXT NOT NULL)
+  config_comment TEXT NOT NULL,
+  config_email TEXT NULL,
+  config_email_comment TEXT NULL,
+  config_warning_email TEXT NULL,
+  config_warning_email_comment TEXT NULL,
+  config_error_email TEXT NULL,
+  config_error_email_comment TEXT NULL)
 SERVER package_server OPTIONS (table_name 'package_build_configs');
 
 CREATE FOREIGN TABLE build_package_config_builds (
-- 
cgit v1.1

