summaryrefslogtreecommitdiff
path: root/schema.sql
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2020-01-13 20:07:00 +0100
committerHelmut Grohne <helmut@subdivi.de>2020-01-13 20:07:00 +0100
commita6ccbd113de22ddf606440c05a4134fb28a0d380 (patch)
treeb4f09853a367b2aae88cd7b7a5b90e6477694c20 /schema.sql
parentb0257acf96f39f27da4c2fadddf85a457fd5eb1f (diff)
downloadcrossqa-a6ccbd113de22ddf606440c05a4134fb28a0d380.tar.gz
fetch and display bugs
Retrieve bugs from udd-mirror by tags/usertags and display relevant bug numbers in the webapp.
Diffstat (limited to 'schema.sql')
-rw-r--r--schema.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/schema.sql b/schema.sql
index c785080..ccd78ec 100644
--- a/schema.sql
+++ b/schema.sql
@@ -38,3 +38,12 @@ CREATE TABLE buildrequests (
architecture TEXT,
requesttime TIMESTAMP NOT NULL,
priority INTEGER NOT NULL DEFAULT 0);
+
+CREATE TABLE bugs (
+ kind TEXT NOT NULL CHECK (kind in ('bdsat', 'ftbfs', 'ftcbfs')),
+ bugnum INTEGER NOT NULL,
+ package TEXT,
+ affects TEXT NOT NULL,
+ title TEXT,
+ patched BOOLEAN NOT NULL CHECK (patched in (0, 1)));
+CREATE INDEX bugs_affects_index ON bugs(affects);