Carbonite.Migrations.configure_trigger

You're seeing just the function configure_trigger, go back to Carbonite.Migrations module for more information.
Link to this function

configure_trigger(table_name, opts \\ [])

View Source (since 0.1.0)

Specs

configure_trigger(table_name(), [trigger_option() | trigger_config_option()]) ::
  :ok

Alters a triggers configuration for a given table.

You need to specify all desired options each time you call this function, as the previous configuration will be replaced.

Options

  • table_prefix is the name of the schema the table lives in
  • carbonite_prefix is the schema of the audit trail, defaults to "carbonite_default"
  • primary_key_columns is a list of columns that form the primary key of the table
                      (defaults to `["id"]`, set to `[]` to disable)
  • excluded_columns is a list of columns to exclude from change captures
  • filtered_columns is a list of columns that appear as '[FILTERED]' in the data
  • mode is either :capture or :ignore and defines the default behaviour of the trigger