From b41b72c316897a54f315326fdf273731a7feb16b Mon Sep 17 00:00:00 2001 From: Jacob Beck Date: Thu, 14 May 2020 12:41:59 -0600 Subject: [PATCH] set config-version: 2 in the generated plugin project --- CHANGELOG.md | 1 + core/scripts/create_adapter_plugins.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fb480cae7e..8afe8c854c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - When no columns are documented and persist_docs.columns is True, skip creating comments instead of failing with errors ([#2439](https://github.com/fishtown-analytics/dbt/issues/2439), [#2440](https://github.com/fishtown-analytics/dbt/pull/2440)) - Fixed an argument issue with the `create_schema` macro on bigquery ([#2445](https://github.com/fishtown-analytics/dbt/issues/2445), [#2448](https://github.com/fishtown-analytics/dbt/pull/2448)) - dbt now logs using the adapter plugin's ideas about how relations should be displayed ([dbt-spark/#74](https://github.com/fishtown-analytics/dbt-spark/issues/74), [#2450](https://github.com/fishtown-analytics/dbt/pull/2450)) +- The create_adapter_plugin.py script creates a version 2 dbt_project.yml file ([#2451](https://github.com/fishtown-analytics/dbt/issues/2451), [#2455](https://github.com/fishtown-analytics/dbt/pull/2455)) ## dbt 0.17.0rc1 (May 12, 2020) diff --git a/core/scripts/create_adapter_plugins.py b/core/scripts/create_adapter_plugins.py index f1e4d5b7aa7..cd40fba30f4 100644 --- a/core/scripts/create_adapter_plugins.py +++ b/core/scripts/create_adapter_plugins.py @@ -6,6 +6,7 @@ PROJECT_TEMPLATE = ''' name: dbt_{adapter} version: {version} +config-version: 2 macro-paths: ["macros"] '''