Skip to content

Commit 01571cd

Browse files
committed
drop unused roles and tables
1 parent 430c893 commit 01571cd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-- Some database roles were created prematurely, despite not having
2+
-- any objects which require permissions in their respective schema.
3+
DROP DATABASE ROLE SYNAPSE_DATA_WAREHOUSE_DEV.SYNAPSE_TASK_READ;
4+
DROP DATABASE ROLE SYNAPSE_DATA_WAREHOUSE_DEV.SYNAPSE_VIEW_READ;
5+
DROP DATABASE ROLE SYNAPSE_DATA_WAREHOUSE_DEV.SYNAPSE_STAGE_READ;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
USE SCHEMA {{database_name}}.SYNAPSE; --noqa: JJ01,PRS,TMP
2+
DROP TABLE IF EXISTS FILE_LATEST_BACKUP;

0 commit comments

Comments
 (0)