Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve: configurable table/function/trigger prefix #4

@gustapinto

Description

@gustapinto

Today the application uses "from_to*" as an prefix for the tables, functions and triggers it creates, but it will be good to provide and optional to configure this prefix, with "from_to*" working as the default value or "fallback"

Example config:

input:
  connector: "postgres"
  postgresConfig:
    dsn: "postgres://from-to-user:from-to-passw@localhost:5432/from-to-db?sslmode=disable"
    pollSeconds: 10
    schemaPrefix: "customPrefixForSchema"
    schemaPrefixSeparator: "-" # Used to separate the input.postgresConfig.schemaPrefix from the table or function name
    tables:
      - "sales"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions