Database permission issues
If the app is run as btracker_user, all API calls fail with
{"code":"42501","details":null,"hint":null,"message":"permission denied for schema btracker_app"}
If the app is run as btracker_owner, some API calls - like:
curl -X 'GET' 'http://localhost:3000/rpc/find_matching_accounts?_partial_account_name=dan' -H 'accept: application/json'
work - but others - like:
curl -X 'GET' 'http://localhost:3000/rpc/get_balance_for_coin_by_time?_account_name=dantheman&_coin_type=21&_start_time=2016-03-24%2016:05:00&_end_time=2016-03-25%2000:34:48' -H 'accept: application/json'
fail with
{"code":"42501","details":null,"hint":null,"message":"permission denied for table account_balance_history"}