Skip to content

Commit

Permalink
Added DDL for initializing BCTS roles and schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
smunthik committed Nov 5, 2024
1 parent 7082580 commit ffe2df1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bcts/access_management/ddl/bcts_roles.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-- Create roles for ETL and data consumption
CREATE ROLE BCTS_ETL_ROLE;
CREATE ROLE BCTS_DEV_ROLE;
CREATE ROLE BCTS_DEV_ROLE;
CREATE ROLE BCTS_STAGE_ANALYST_ROLE;
CREATE ROLE BCTS_STAGE_ANALYST_PI_ROLE;
CREATE ROLE BCTS_ANALYST_ROLE;
CREATE ROLE BCTS_ANALYST_PI_ROLE;

-- Create BCTS schemas in ODS
CREATE SCHEMA IF NOT EXISTS lrm_replication;
CREATE SCHEMA IF NOT EXISTS bcts_reporting;
CREATE SCHEMA IF NOT EXISTS bcts_staging;

0 comments on commit ffe2df1

Please sign in to comment.