diff --git a/README.rst b/README.rst index 35c64041..2e0950ab 100644 --- a/README.rst +++ b/README.rst @@ -115,6 +115,8 @@ now marked as "Email". Here is the list of special types currently accepted by Metabase: +* ``type/PK`` +* ``type/FK`` * ``type/AvatarURL`` * ``type/Category`` * ``type/City`` diff --git a/dbtmetabase/__init__.py b/dbtmetabase/__init__.py index 2b7de57a..3d4f3694 100644 --- a/dbtmetabase/__init__.py +++ b/dbtmetabase/__init__.py @@ -3,7 +3,7 @@ from .dbt import DbtReader from .metabase import MetabaseClient -__version__ = '0.4.1' +__version__ = '0.4.2' def export(dbt_path: str, mb_host: str, mb_user: str, mb_password: str, diff --git a/macros/tests.sql b/macros/tests.sql index 93774013..53eec76c 100644 --- a/macros/tests.sql +++ b/macros/tests.sql @@ -3,6 +3,8 @@ select sum(count) as count from ( select count(*) as count where '{{ special_type }}' not in ( + 'type/PK', + 'type/FK', 'type/AvatarURL', 'type/Category', 'type/City',