Skip to content

Commit

Permalink
#905 update permissions for api_bot
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielwol committed Mar 25, 2024
1 parent aeed63c commit 688b1bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ GRANT ALL ON TABLE gwolofs.miovision_15min_open_data TO gwolofs;

GRANT ALL ON TABLE gwolofs.miovision_15min_open_data TO miovision_admins;

GRANT SELECT, INSERT, DELETE ON TABLE gwolofs.miovision_15min_open_data
TO miovision_api_bot;

COMMENT ON TABLE gwolofs.miovision_15min_open_data
IS 'Table to store Miovision 15min open data. Updated monthly.
Schema is a blend of TMC and ATR style data to cover different
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- DROP TABLE gwolofs.miovision_open_data_monthly_summary;\
-- DROP TABLE gwolofs.miovision_open_data_monthly_summary;

CREATE TABLE gwolofs.miovision_open_data_monthly_summary (
intersection_uid integer,
Expand Down Expand Up @@ -34,6 +34,9 @@ GRANT ALL ON TABLE gwolofs.miovision_open_data_monthly_summary TO gwolofs;

GRANT ALL ON TABLE gwolofs.miovision_open_data_monthly_summary TO miovision_admins;

GRANT SELECT, INSERT, DELETE ON TABLE gwolofs.miovision_open_data_monthly_summary
TO miovision_api_bot;

COMMENT ON TABLE gwolofs.miovision_open_data_monthly_summary
IS 'Table to store Miovision monthly summary open data.
Contains an approachable monthly-intersection summary of
Expand Down

0 comments on commit 688b1bc

Please sign in to comment.