summaryrefslogtreecommitdiff
path: root/service/schema.sql
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-03-08 21:19:21 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-03-08 22:41:03 +0000
commitc3d93684368c82c0d7f969997264c121cbaafabd (patch)
tree85b37e5b9f82ac70b660857b0828fdf4f9cca685 /service/schema.sql
parentSplit the builds into the usual domain, api and service components (diff)
downloadmirrorsearch-c3d93684368c82c0d7f969997264c121cbaafabd.tar.bz2
mirrorsearch-c3d93684368c82c0d7f969997264c121cbaafabd.tar.xz
mirrorsearch-c3d93684368c82c0d7f969997264c121cbaafabd.zip
Allow configuring referrer and useragent, also set a collection of other handy headers
Diffstat (limited to 'service/schema.sql')
-rw-r--r--service/schema.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/service/schema.sql b/service/schema.sql
index 93a87d3..c439d73 100644
--- a/service/schema.sql
+++ b/service/schema.sql
@@ -2,6 +2,8 @@ CREATE TABLE searchservices(
id int GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
name text not null,
baseurl text not null,
+ referrer text,
+ useragent text,
parserflags int not null,
listxpath text not null,
urlxpath text not null