[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [metrics-web/master] Add extrainfo column back to descriptor table.



commit 63799e94bcaa4fed7d5979d8788c1c12fe73ac72
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Fri Oct 19 20:53:58 2012 -0400

    Add extrainfo column back to descriptor table.
    
    The extrainfo column was removed from the descriptor table when we stopped
    serving raw extra-info documents.  The database import code was never
    adapted though.  Put the column back in the table as the easiest fix to
    make the two parts consistent again.
---
 db/tordir.sql |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/db/tordir.sql b/db/tordir.sql
index 8aa039c..5f533c4 100644
--- a/db/tordir.sql
+++ b/db/tordir.sql
@@ -18,6 +18,7 @@ CREATE TABLE descriptor (
     platform CHARACTER VARYING(256),
     published TIMESTAMP WITHOUT TIME ZONE NOT NULL,
     uptime BIGINT,
+    extrainfo CHARACTER(40),
     rawdesc BYTEA NOT NULL,
     CONSTRAINT descriptor_pkey PRIMARY KEY (descriptor)
 );



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits