summaryrefslogtreecommitdiff
path: root/system/db/init.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-14 08:40:35 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-14 08:40:35 -0800
commit6808d3bf58e19e9230e7966798a70406f6d306e0 (patch)
tree5935a919b7f5f1710895a5f7609e908d491af345 /system/db/init.go
parent8e1269385b2ea6bb8a115030a4a6f4c12fa24868 (diff)
adding __contentIndex to map item slug to semi foreign-key, and implementing add/delete features
Diffstat (limited to 'system/db/init.go')
-rw-r--r--system/db/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/db/init.go b/system/db/init.go
index 967eed1..df993e6 100644
--- a/system/db/init.go
+++ b/system/db/init.go
@@ -45,7 +45,7 @@ func Init() {
}
// init db with other buckets as needed
- buckets := []string{"__config", "__users"}
+ buckets := []string{"__config", "__users", "__contentIndex"}
for _, name := range buckets {
_, err := tx.CreateBucketIfNotExists([]byte(name))
if err != nil {