Skip to content

dbt-labs/postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postgres data models and utilities

dbt models for Postgres databases

Macros

index (source)

This macro creates an index on a given column.

Usage:

{{
config({
    "post-hook": [
      "{{ postgres.index(this, 'id')}}",
    ],
    })
}}