Skip to content

Commit

Permalink
fix: insert pre hook in br_ms_sih models
Browse files Browse the repository at this point in the history
  • Loading branch information
folhesgabriel committed Jun 17, 2024
1 parent 03ba13e commit efca5dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions models/br_ms_sih/br_ms_sih__aihs_reduzidas.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"range": {"start": 2008, "end": 2024, "interval": 1},
},
cluster_by=["mes", "sigla_uf"],
pre_hook="DROP ALL ROW ACCESS POLICIES ON {{ this }}",
)
}}
select
Expand Down
1 change: 1 addition & 0 deletions models/br_ms_sih/br_ms_sih__servicos_profissionais.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"range": {"start": 2005, "end": 2024, "interval": 1},
},
cluster_by=["mes", "sigla_uf"],
pre_hook="DROP ALL ROW ACCESS POLICIES ON {{ this }}",
)
}}

Expand Down

0 comments on commit efca5dc

Please sign in to comment.