diff options
author | Steve <nilslice@gmail.com> | 2016-12-14 10:04:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-14 10:04:42 -0800 |
commit | 372bd05522a7730891778082c0e0875d47445d59 (patch) | |
tree | 8775b01a283c32dce3297dbddad1ddf14a114c33 /system/db/init.go | |
parent | 8e1269385b2ea6bb8a115030a4a6f4c12fa24868 (diff) | |
parent | b3aa9440f62db5a530397c525a42b4fca7b27bab (diff) |
Merge pull request #22 from bosssauce/ponzu-dev
[core] Add a index for content slugs allowing quicker lookup via slug
Diffstat (limited to 'system/db/init.go')
-rw-r--r-- | system/db/init.go | 2 |
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 { |