summaryrefslogtreecommitdiff
path: root/etc/schema.sql
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-03-12 10:56:47 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-03-12 10:56:47 +0100
commit4052368bb5372a9f4c6164ef71d3bcd7ede9e81b (patch)
tree4ac7dc4cc59a05c22f777611de5ecacada4529bb /etc/schema.sql
parent4bdca473d44f5f482e73d091cfeefe1e7195422f (diff)
mumi: Add bugs.
* mumi/bugs.scm: New file. * etc/schema.sql: New file. * Makefile.am (SOURCES): Add mumi/bugs.scm. (dist_pkgdata_DATA): Add etc/schema.sql.
Diffstat (limited to 'etc/schema.sql')
-rw-r--r--etc/schema.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/schema.sql b/etc/schema.sql
new file mode 100644
index 0000000..4bcecda
--- /dev/null
+++ b/etc/schema.sql
@@ -0,0 +1,14 @@
+BEGIN TRANSACTION;
+
+CREATE TABLE bugs (
+ id INTEGER NOT NULL PRIMARY KEY UNIQUE,
+ submitter TEXT NOT NULL,
+ owner TEXT,
+ severity TEXT NOT NULL,
+ status TEXT NOT NULL,
+ tags TEXT NOT NULL
+);
+
+CREATE INDEX bugs_index ON bugs(id, submitter, owner, severity, status, tags);
+
+COMMIT;