From 51a919491bd3121c24f3b33d6279cf8f4a2c2f34 Mon Sep 17 00:00:00 2001 From: Seva Baskin Date: Tue, 3 Dec 2024 23:47:47 +0800 Subject: [PATCH] Update reference to deprecated `put_trigger_option` (#122) Seems Carbonite.Migrations.put_trigger_option is no longer available, but is still referenced in the generated migration file. --- lib/mix/tasks/carbonite.gen.initial_migration.ex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/mix/tasks/carbonite.gen.initial_migration.ex b/lib/mix/tasks/carbonite.gen.initial_migration.ex index aeacc63..8ad77e5 100644 --- a/lib/mix/tasks/carbonite.gen.initial_migration.ex +++ b/lib/mix/tasks/carbonite.gen.initial_migration.ex @@ -59,10 +59,10 @@ defmodule Mix.Tasks.Carbonite.Gen.InitialMigration do # Configure trigger options: # - # Carbonite.Migrations.put_trigger_option("rabbits", :primary_key_columns, ["compound", "key"]) - # Carbonite.Migrations.put_trigger_option("rabbits", :excluded_columns, ["private"]) - # Carbonite.Migrations.put_trigger_option("rabbits", :filtered_columns, ["private"]) - # Carbonite.Migrations.put_trigger_option("rabbits", :mode, :ignore) + # Carbonite.Migrations.put_trigger_config("rabbits", :primary_key_columns, ["compound", "key"]) + # Carbonite.Migrations.put_trigger_config("rabbits", :excluded_columns, ["private"]) + # Carbonite.Migrations.put_trigger_config("rabbits", :filtered_columns, ["private"]) + # Carbonite.Migrations.put_trigger_config("rabbits", :mode, :ignore) # If you wish to insert an initial outbox: #