Skip to content

Commit

Permalink
chore: update db notes (#442) (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoopDog authored Oct 29, 2024
1 parent d065b8f commit b46ff71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db_scripts/create-users.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ GRANT CONNECT ON DATABASE hcaatlastracker TO hat_app;
-- Additional: Grant EXECUTE on all current and future functions/procedures in 'hat' schema to hat_app
GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA hat TO hat_app;
GRANT EXECUTE ON ALL PROCEDURES IN SCHEMA hat TO hat_app;
GRANT USAGE, SELECT, UPDATE ON SEQUENCE hat.users_id_seq TO hat_app;
ALTER DEFAULT PRIVILEGES FOR ROLE hat_migrate IN SCHEMA hat
GRANT EXECUTE ON FUNCTIONS TO hat_app;
ALTER DEFAULT PRIVILEGES FOR ROLE hat_migrate IN SCHEMA hat
Expand Down

0 comments on commit b46ff71

Please sign in to comment.