Skip to content

Commit

Permalink
Fix config names for pre_hook and post_hook (#5975)
Browse files Browse the repository at this point in the history
[Preview](https://docs-getdbt-com-git-dbeatty10-patch-3-dbt-labs.vercel.app/reference/model-configs#general-configurations)
> "Property file" tab

## What are you changing in this pull request and why?

Fix config names for `pre_hook` and `post_hook` (since `pre-hook` and
`post-hook` only work within `dbt_project.yml` files.

## 🎩 

<img width="503" alt="image"
src="https://github.com/user-attachments/assets/da5ff68a-9c90-4bb2-8bb6-26a9ec62bdc9">


## Checklist
- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
so my content adheres to these guidelines.
  • Loading branch information
dbeatty10 authored Aug 26, 2024
1 parent 1be2036 commit efb224c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/reference/model-configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ models:
config:
[enabled](/reference/resource-configs/enabled): true | false
[tags](/reference/resource-configs/tags): <string> | [<string>]
[pre-hook](/reference/resource-configs/pre-hook-post-hook): <sql-statement> | [<sql-statement>]
[post-hook](/reference/resource-configs/pre-hook-post-hook): <sql-statement> | [<sql-statement>]
[pre_hook](/reference/resource-configs/pre-hook-post-hook): <sql-statement> | [<sql-statement>]
[post_hook](/reference/resource-configs/pre-hook-post-hook): <sql-statement> | [<sql-statement>]
[database](/reference/resource-configs/database): <string>
[schema](/reference/resource-properties/schema): <string>
[alias](/reference/resource-configs/alias): <string>
Expand Down

0 comments on commit efb224c

Please sign in to comment.