Skip to content

Commit

Permalink
Added the snapshot / block displaying new config
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliefiann committed Sep 23, 2024
1 parent 2d674ae commit da879ea
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion website/docs/reference/snapshot-configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,22 @@ snapshots:

<TabItem value="property-yaml">

**Note:** Required snapshot properties _will not_ work when defined in `config` YAML blocks. We recommend that you define these in `dbt_project.yml` or a `config()` block within the snapshot `.sql` file.



<File name='snapshots/schema.yml'>

```yml

snapshots:
- name: my_snapshot
config:
schema: specific_schema
unique_key: specific_id
strategy: timestamp
updated_at: updated_at
```
</File>
</TabItem>
Expand Down

0 comments on commit da879ea

Please sign in to comment.