summaryrefslogtreecommitdiff
path: root/controller/schema.sql
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-17 15:21:53 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-17 15:21:53 -0700
commit740121504f2e9cb00ab0a97d277afd57db936633 (patch)
treef07279faea7b3b3200bdeb457bfd9d78896f1084 /controller/schema.sql
parent417f56de2f7b75c4c9e91d9cc8e067c4542213c8 (diff)
downloadinfinitytier-740121504f2e9cb00ab0a97d277afd57db936633.tar.gz
infinitytier-740121504f2e9cb00ab0a97d277afd57db936633.zip
Add a timestamp to netconf cache, fix some SQL queries in NC.
Diffstat (limited to 'controller/schema.sql')
-rw-r--r--controller/schema.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/controller/schema.sql b/controller/schema.sql
index f5981f1a..e68b095d 100644
--- a/controller/schema.sql
+++ b/controller/schema.sql
@@ -32,6 +32,7 @@ CREATE TABLE Member (
nodeId char(10) NOT NULL,
cachedNetconf blob(4096),
cachedNetconfRevision integer NOT NULL DEFAULT(0),
+ cachedNetconfTimestamp integer NOT NULL DEFAULT(0),
clientReportedRevision integer NOT NULL DEFAULT(0),
authorized integer NOT NULL DEFAULT(0),
activeBridge integer NOT NULL DEFAULT(0)