From 3d7f248ee7aa7e5b470cb9bc2fcf76852e798db5 Mon Sep 17 00:00:00 2001
From: Karen Arutyunov <karen@codesynthesis.com>
Date: Wed, 22 May 2024 19:12:55 +0300
Subject: Make poll interval for unloaded tenant configurable and rename
 loaded_timestamp tenant member to unloaded_timestamp

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

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

diff --git a/libbrep/build-extra.sql b/libbrep/build-extra.sql
index c31cc31..0c0f010 100644
--- a/libbrep/build-extra.sql
+++ b/libbrep/build-extra.sql
@@ -51,7 +51,8 @@ CREATE FOREIGN TABLE build_tenant (
   service_id TEXT NULL,
   service_type TEXT NULL,
   service_data TEXT NULL,
-  loaded_timestamp BIGINT NULL,
+  unloaded_timestamp BIGINT NULL,
+  unloaded_notify_interval BIGINT NULL,
   queued_timestamp BIGINT NULL,
   toolchain_name TEXT OPTIONS (column_name 'build_toolchain_name') NULL,
   toolchain_version_epoch INTEGER OPTIONS (column_name 'build_toolchain_version_epoch') NULL,
-- 
cgit v1.1

