Overview
IntegrationsPricing

Registering a SQL integration

Like any other integration, a SQL one must be registered in the file dedicated to integrations. If BLACKSMITH_EXT is yml, a SQL integration shall be configured as follow in BLACKSMITH_DIR/integrations.yml:

integrations:
  sql:
    - name: "warehouse"
      driver: "postgresql"
      connection: "WAREHOUSE_URL"
      migrations: "./warehouse/migrations"
      policies:
        migration:
          timeout: 45
        operation:
          timeout: 45
        load:
          timeout: 15
          initialInterval: 30
          backoffCoefficient: 1.75
          maximumInterval: 3600
          maximumAttempts: 50

This integration is named warehouse. This is the name that must be set when an integration's name is required.

Refer to the recipes for all options and drivers.

Is something missing?

If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the repository. Once we merge it, the changes will be reflected on the website the next time it is deployed.

Thank you for your contributions!