Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Upgrade dbt v0.20, dbt-utils v0.7 (#38)
Browse files Browse the repository at this point in the history
* Upgrade dbt v0.20, dbt-utils v0.7

* Update version, company name
  • Loading branch information
jtcohen6 authored Jul 7, 2021
1 parent 0d7b934 commit 7760cfc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 2.1
jobs:
build:
docker:
- image: circleci/python:3.6.3-stretch
- image: circleci/python:3.6.13-stretch
- image: circleci/postgres:9.6.5-alpine-ram

steps:
Expand All @@ -25,7 +25,7 @@ jobs:
. venv/bin/activate
pip install --upgrade pip setuptools
pip install dbt
pip install --pre dbt
mkdir -p ~/.dbt
cp integration_tests/ci/sample.profiles.yml ~/.dbt/profiles.yml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ convenience models to make it easier to parse the event log data.

### Setup

1. Include this package in your `packages.yml` -- check [here](https://hub.getdbt.com/fishtown-analytics/logging/latest/)
1. Include this package in your `packages.yml` -- check [here](https://hub.getdbt.com/dbt-labs/logging/latest/)
for installation instructions.
2. Include the following in your `dbt_project.yml` directly within your
`models:` block (making sure to handle indenting appropriately):
Expand Down
4 changes: 2 additions & 2 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: 'logging'
version: '0.3.0'
version: '0.5.0'
config-version: 2

require-dbt-version: ">=0.18.0"
require-dbt-version: ">=0.20.0"

source-paths: ["models"]
analysis-paths: ["analysis"]
Expand Down
4 changes: 2 additions & 2 deletions macros/audit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

{% macro log_audit_event(event_name, schema, relation, user, target_name, is_full_refresh) -%}

{{ return(adapter.dispatch('log_audit_event', packages=['logging'])(event_name, schema, relation, user, target_name, is_full_refresh)) }}
{{ return(adapter.dispatch('log_audit_event', 'logging')(event_name, schema, relation, user, target_name, is_full_refresh)) }}

{% endmacro %}

Expand Down Expand Up @@ -75,7 +75,7 @@

{% macro create_audit_log_table() -%}

{{ return(adapter.dispatch('create_audit_log_table', packages=['logging'])()) }}
{{ return(adapter.dispatch('create_audit_log_table', 'logging')()) }}

{% endmacro %}

Expand Down
4 changes: 2 additions & 2 deletions packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packages:
- package: fishtown-analytics/dbt_utils
version: [">=0.6.0", "<0.7.0"]
- package: dbt-labs/dbt_utils
version: [">=0.7.0", "<0.8.0"]

0 comments on commit 7760cfc

Please sign in to comment.