summaryrefslogtreecommitdiff
path: root/root-watcher/schema.sql
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-06-01 12:57:44 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-06-01 12:57:44 -0700
commit7f4da08ff7af6f5d2a06001f70dae906a859c66e (patch)
tree4880ab01768f1db00b37deeb80d0028ccdd7e3ab /root-watcher/schema.sql
parent1f9414a30f59af1beb8370a3710c7ebdfd300de9 (diff)
downloadinfinitytier-7f4da08ff7af6f5d2a06001f70dae906a859c66e.tar.gz
infinitytier-7f4da08ff7af6f5d2a06001f70dae906a859c66e.zip
.
Diffstat (limited to 'root-watcher/schema.sql')
-rw-r--r--root-watcher/schema.sql20
1 files changed, 0 insertions, 20 deletions
diff --git a/root-watcher/schema.sql b/root-watcher/schema.sql
deleted file mode 100644
index ade0fa3e..00000000
--- a/root-watcher/schema.sql
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Schema for ZeroTier root watcher log database */
-
-CREATE TABLE "Peer"
-(
- "ztAddress" BIGINT NOT NULL,
- "timestamp" BIGINT NOT NULL,
- "versionMajor" INTEGER NOT NULL,
- "versionMinor" INTEGER NOT NULL,
- "versionRev" INTEGER NOT NULL,
- "rootId" INTEGER NOT NULL,
- "phyPort" INTEGER NOT NULL,
- "phyLinkQuality" REAL NOT NULL,
- "phyLastReceive" BIGINT NOT NULL,
- "phyAddress" INET NOT NULL
-);
-
-CREATE INDEX "Peer_ztAddress" ON "Peer" ("ztAddress");
-CREATE INDEX "Peer_timestamp" ON "Peer" ("timestamp");
-CREATE INDEX "Peer_rootId" ON "Peer" ("rootId");
-CREATE INDEX "Peer_phyAddress" ON "Peer" ("phyAddress");