bcgov / cas-data-warehouse

A data warehouse to ingest several different sources of data
Apache License 2.0
0 stars 0 forks source link

Add job to init database & readonly user #24

Closed dleard closed 1 year ago

dleard commented 1 year ago

We will need a database to house the data and readonly user for metabase to connect to the data warehouse from. The job should do a create database if not exists... and create a user and give that user select permission on all schemas/tables. The user part will likely require a do block and some iterating over schemas. There is no create user if not exists... statement.

AC:

dleard commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @dleard @mikevespi

mikevespi commented 1 year ago

Permissions handling has been moved to the jobs importing schemas