Skip to content

Loading…

Adding UUID v4 type keys. #153

Closed
wants to merge 1 commit into from

2 participants

@kevinmontuori

Evan --

The companion pull to this boss_db pull request:

ErlyORM/boss_db#37

@evanmiller

Pull request is closed, closing issue

@evanmiller evanmiller closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/boss/boss_web_controller.erl
View
4 src/boss/boss_web_controller.erl
@@ -65,8 +65,10 @@ init(Config) ->
DBShards = boss_env:get_env(db_shards, []),
CacheEnable = boss_env:get_env(cache_enable, false),
IsMasterNode = boss_env:is_master_node(),
+ DBKeyType = boss_env:get_env(db_keytype, serial),
DBOptions1 = [{adapter, DBAdapter}, {cache_enable, CacheEnable},
- {shards, DBShards}, {is_master_node, IsMasterNode}|DBOptions],
+ {shards, DBShards}, {is_master_node, IsMasterNode},
+ {db_keytype, DBKeyType}|DBOptions],
boss_db:start(DBOptions1),
Something went wrong with that request. Please try again.