From bc0bacf765a8518be6dab0ba58d40e343c3ea578 Mon Sep 17 00:00:00 2001
From: Kristian Lyngstol <kristian@bohemians.org>
Date: Sat, 10 Sep 2016 12:24:02 +0200
Subject: Last tweak of schemat:

---
 build/schema.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'build/schema.sql')

diff --git a/build/schema.sql b/build/schema.sql
index 72158c5..e40ba15 100644
--- a/build/schema.sql
+++ b/build/schema.sql
@@ -309,7 +309,7 @@ CREATE TABLE switches (
     mgmt_vlan integer DEFAULT 666,
     traffic_vlan integer,
     last_config_fetch timestamp with time zone,
-    tags jsonb,
+    tags jsonb DEFAULT '[]',
     current_mac macaddr
 );
 
-- 
cgit v1.2.3

