Hi, I'm trying to alias all my streams with a pref...
# troubleshooting
g
Hi, I'm trying to alias all my streams with a prefix using this target config:
Copy code
- name: target-postgres
      variant: meltanolabs
      pip_url: meltanolabs-target-postgres
      config:
        host: ${INGESTION_DB_HOST}
        port: ${INGESTION_DB_PORT}
        database: ${INGESTION_DB_NAME}
        user: ${INGESTION_DB_USER}
        password: ${INGESTION_DB_PASSWORD}
        ssl_mode: ${INGESTION_DB_SSL_MODE}
        default_target_schema: ${INGESTION_DB_SCHEMA}
        # <https://sdk.meltano.com/en/latest/stream_maps.html>
        stream_maps:
          "*":
            __alias__: config['tables_prefix'] + __stream_name__
        stream_map_config:
          tables_prefix: ${TABLES_PREFIX}