version: 1
default_environment: dev
project_id: fc0cd1d8-5717-4675-9102-c660d25017d5
plugins:
  extractors:
  - name: tap-postgres
    variant: transferwise
    pip_url: pipelinewise-tap-postgres
  loaders:
  - name: target-postgres
    variant: transferwise
    pip_url: pipelinewise-target-postgres
environments:
- name: dev
  config:
    plugins:
      extractors:
      - name: tap-postgres
        config:
          user: meltano_test_user
          dbname: meltano_test
          filter_schema: src_sample_store
          start_date: '2022-06-24T00:00:00Z'
          default_replication_method: INCREMENTAL
        metadata:
          src_sample_store-widgets:
            replication-key: updated_at 
            replication-method: INCREMENTAL
        select:
          - src_sample_store-widgets.created_at
          - src_sample_store-widgets.id
          - src_sample_store-widgets.name
          - src_sample_store-widgets.updated_at
      loaders:
      - name: target-postgres
        config:
          user: meltano_test_user
          dbname: meltano_test_dw
          schema_mapping:
            src_sample_store:
              target_schema: dest_sample_store
- name: staging
- name: prod
