# Package name
name: 'summary_geographics_v2'
version: '2.2'

config-version: 2

# DB connection profile
profile: 'snowflake'

test-paths: ["tests"]

# Models to run
models:
    summary_geographics_v2:
        # Geographics models
        isrc:
            +enabled: true

        artist:
            +enabled: true

        label:
            +enabled: true

        operations:
            upgrade:
                +enabled: true

        # Grant permissions to all tables
        +post-hook:
          - '{{ utils.grant_permissions() }}'

vars:
    summary_geographics_v2:
        # Production view names
        isrc_geographics_feed_distributor_history_table: "SUMMARY_GEOGRAPHICS_BY_ISRC_FEED_DISTRIBUTOR_HISTORY"
        isrc_geographics_feed_distributor_recent_table: "SUMMARY_GEOGRAPHICS_BY_ISRC_FEED_DISTRIBUTOR_RECENT"
        artist_geographics_feed_distributor_recent_table: "SUMMARY_GEOGRAPHICS_BY_ARTIST_FEED_DISTRIBUTOR_RECENT"
        artist_geographics_feed_distributor_history_table: "SUMMARY_GEOGRAPHICS_BY_ARTIST_FEED_DISTRIBUTOR_HISTORY"
        label_geographics_feed_distributor_table: "SUMMARY_GEOGRAPHICS_BY_LABEL_FEED_DISTRIBUTOR"
