Skip to content

Commit

Permalink
schema
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Nov 16, 2018
1 parent 18d04da commit a28253f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kvs.erl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ table(Name) when is_atom(Name) -> lists:keyfind(rname(Name),#table.name,tables()
table(_) -> false.
dir(#kvs{mod=DBA}) -> DBA:dir().
info(T,#kvs{mod=DBA}) -> DBA:info(T).
modules() -> kvs:config(schema).
modules() -> application:get_env(kvs,schema,[kvs_user, kvs_acl, kvs_feed, kvs_subscription ]).
containers() ->
lists:flatten([ [ {T#table.name,T#table.fields}
|| T=#table{container=true} <- (M:metainfo())#schema.tables ]
Expand Down

0 comments on commit a28253f

Please sign in to comment.