Carbonite.Migrations.configure_trigger
You're seeing just the function
configure_trigger
, go back to Carbonite.Migrations module for more information.
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 incarbonite_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 capturesfiltered_columns
is a list of columns that appear as '[FILTERED]' in the datamode
is either:capture
or:ignore
and defines the default behaviour of the trigger