diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-04-25 13:23:37 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-04-25 13:23:37 -0700 |
commit | 099d000119447708d7d0d0482758d352438fa7e5 (patch) | |
tree | f4386ae2ff25a5b6b15c2e6442d4c56705e8271e /system/db/init.go | |
parent | 7092fb8979869f3c09b364d454d8d8081bb7c0bc (diff) |
adding support for file upload type and API handler to fetch file info
Diffstat (limited to 'system/db/init.go')
-rw-r--r-- | system/db/init.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/system/db/init.go b/system/db/init.go index eb5f7ee..a401a2a 100644 --- a/system/db/init.go +++ b/system/db/init.go @@ -51,7 +51,10 @@ func Init() { } // init db with other buckets as needed - buckets := []string{"__config", "__users", "__contentIndex", "__addons"} + buckets := []string{ + "__config", "__users", "__contentIndex", + "__addons", "__uploads", + } for _, name := range buckets { _, err := tx.CreateBucketIfNotExists([]byte(name)) if err != nil { |