From 6e449039520843c8df5203d6a16a0c6fadfe312b Mon Sep 17 00:00:00 2001 From: Felix Hanley Date: Mon, 26 Feb 2018 22:25:55 +1100 Subject: Remove some files --- config.toml.sample | 14 -------------- schema.sql | 24 ------------------------ 2 files changed, 38 deletions(-) delete mode 100644 config.toml.sample delete mode 100644 schema.sql diff --git a/config.toml.sample b/config.toml.sample deleted file mode 100644 index dedd166..0000000 --- a/config.toml.sample +++ /dev/null @@ -1,14 +0,0 @@ -# Move to config.toml in the same directory as the binary. -# All command line arguments are accepted plus some more. - -base_port = 6881 -num_nodes = 1 -debug = false -quiet = false -dsn = "postgres://dht:dht@localhost/dht?sslmode=disable" -no_http = false -http_address = "localhost:6880" -skip_tags = ["adult"] - -[tags] -test = "\\.asdfasdfsdfsfdsfs" diff --git a/schema.sql b/schema.sql deleted file mode 100644 index 5ab895c..0000000 --- a/schema.sql +++ /dev/null @@ -1,24 +0,0 @@ -create table if not exists torrents ( - id serial not null primary key, - infohash character varying(40) unique, - size bigint, - name text, - seen timestamp with time zone, - tsv tsvector -); -create index tsv_idx on torrents using gin(tsv); -create table if not exists files ( - id serial not null primary key, - torrent_id integer not null references torrents on delete cascade, - path text, - size bigint -); -create table if not exists tags ( - id serial not null primary key, - name text -); -create table if not exists tags_torrents ( - tag_id integer not null references tags on delete cascade, - torrent_id integer not null references torrents on delete cascade, - primary key (tag_id, torrent_id) -); -- cgit v1.2.3