From d4900d85f7a5d791f89821713d02d3dd19361044 Mon Sep 17 00:00:00 2001
From: Karen Arutyunov <karen@codesynthesis.com>
Date: Thu, 22 Feb 2024 11:17:25 +0300
Subject: Add support for tenant-associated service notifications

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

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

diff --git a/libbrep/build-extra.sql b/libbrep/build-extra.sql
index 23015f4..c15ddc1 100644
--- a/libbrep/build-extra.sql
+++ b/libbrep/build-extra.sql
@@ -36,7 +36,11 @@ CREATE FOREIGN TABLE build_tenant (
   id TEXT NOT NULL,
   private BOOLEAN NOT NULL,
   interactive TEXT NULL,
-  archived BOOLEAN NOT NULL)
+  archived BOOLEAN NOT NULL,
+  service_id TEXT NULL,
+  service_type TEXT NULL,
+  service_data TEXT NULL,
+  queued_timestamp BIGINT NULL)
 SERVER package_server OPTIONS (table_name 'tenant');
 
 -- The foreign table for build_repository object.
-- 
cgit v1.1

