Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

905 Miovision Open Data #909

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
#905 update permissions for api_bot
gabrielwol committed Mar 25, 2024
commit 688b1bcfb0baff4f6ef5b46016c5de5a7af155bb
Original file line number Diff line number Diff line change
@@ -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
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,
@@ -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