From f65a0092d3c30880d8bf6a9e9f07573b36ee7816 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Wed, 11 Jan 2017 18:33:37 -0800 Subject: attempting to force item.Types to be populated before the db Init step --- system/db/init.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'system/db/init.go') diff --git a/system/db/init.go b/system/db/init.go index eaf6d76..4999e1b 100644 --- a/system/db/init.go +++ b/system/db/init.go @@ -7,6 +7,9 @@ import ( "github.com/ponzu-cms/ponzu/system/admin/config" "github.com/ponzu-cms/ponzu/system/item" + // content package must be initialized so our db is pre-configured + _ "github.com/ponzu-cms/ponzu/content" + "github.com/boltdb/bolt" "github.com/nilslice/jwt" ) -- cgit v1.2.3