summaryrefslogtreecommitdiff
path: root/system/db/init.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-01-11 18:33:37 -0800
committerSteve Manuel <nilslice@gmail.com>2017-01-11 18:33:37 -0800
commitf65a0092d3c30880d8bf6a9e9f07573b36ee7816 (patch)
tree679a602d3b30a6c2effcf90366e79936a1dfad13 /system/db/init.go
parent2e0b2d83f065d72fc39f89f592f98af421fce34a (diff)
attempting to force item.Types to be populated before the db Init step
Diffstat (limited to 'system/db/init.go')
-rw-r--r--system/db/init.go3
1 files changed, 3 insertions, 0 deletions
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"
)