From 09e5bba31b864da3e86b2747da9bc6cfebe90cbe Mon Sep 17 00:00:00 2001
From: Helmut Grohne <helmut@subdivi.de>
Date: Sat, 23 Mar 2019 10:06:16 +0100
Subject: allow scheduling builds via webapp

---
 schema.sql | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'schema.sql')

diff --git a/schema.sql b/schema.sql
index e76dde0..62ce9c4 100644
--- a/schema.sql
+++ b/schema.sql
@@ -30,3 +30,9 @@ CREATE TABLE builds (
 	success BOOLEAN NOT NULL CHECK (success in (0, 1)),
 	starttime TIMESTAMP NOT NULL,
 	filename TEXT NOT NULL);
+
+CREATE TABLE buildrequests (
+	source TEXT NOT NULL,
+	architecture TEXT,
+	requesttime TIMESTAMP NOT NULL,
+        priority INTEGER NOT NULL DEFAULT 0);
-- 
cgit v1.2.3

