Commit a09f686e authored by Kristupas Bobraitis's avatar Kristupas Bobraitis
Browse files

Changes to share space with py server

parent 12096873
......@@ -52,7 +52,7 @@ CREATE TABLE IF NOT EXISTS btracker_app.account_balance_history
--recreate role for reading data
DROP OWNED BY haf_app;
DROP ROLE IF EXISTS haf_app;
CREATE ROLE haf_app;
CREATE ROLE haf_app LOGIN PASSWORD 'haf_app';
GRANT hive_applications_group TO haf_app;
GRANT USAGE ON SCHEMA btracker_app to haf_app;
GRANT SELECT ON btracker_app.account_balance_history, hive.blocks TO haf_app;
......@@ -328,4 +328,4 @@ BEGIN
CREATE INDEX idx_btracker_app_account_balance_history_nai ON btracker_app.account_balance_history(nai);
END
$$
;
\ No newline at end of file
;
......@@ -24,7 +24,7 @@ create_api() {
}
start_webserver() {
postgrest webserver.conf
postgrest postgrest.conf
}
install_postgrest() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment