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