From 27033e5fcf55b0685d2d843c21305d97024c5f7c Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Fri, 28 Apr 2017 23:04:22 -0700 Subject: [PATCH] this needs to be unique --- database/route.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/route.go b/database/route.go index b723b0f..bc2b9c1 100644 --- a/database/route.go +++ b/database/route.go @@ -9,7 +9,7 @@ import ( type Route struct { ID string `storm:"id"` Creator string - Hostname string + Hostname string `storm:"unique"` } // F https://godoc.org/github.com/Xe/ln#F