From c06c5ad164938e81ce7c727e4369b84bbf99b9ac Mon Sep 17 00:00:00 2001 From: carlobeltrame Date: Wed, 31 Jan 2024 09:19:07 +0100 Subject: [PATCH] Adapt to core changes --- spec/fixtures/mailing_lists.yml | 36 ++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/spec/fixtures/mailing_lists.yml b/spec/fixtures/mailing_lists.yml index b65a2543..dce3fabb 100644 --- a/spec/fixtures/mailing_lists.yml +++ b/spec/fixtures/mailing_lists.yml @@ -7,19 +7,35 @@ # # Table name: mailing_lists # -# id :integer not null, primary key -# name :string(255) not null -# group_id :integer not null -# description :text -# publisher :string(255) -# mail_name :string(255) -# additional_sender :string(255) -# subscribable :boolean default(FALSE), not null -# subscribers_may_post :boolean default(FALSE), not null +# id :integer not null, primary key +# additional_sender :string(255) +# anyone_may_post :boolean default(FALSE), not null +# delivery_report :boolean default(FALSE), not null +# description :text(65535) +# filter_chain :text(65535) +# mail_name :string(255) +# mailchimp_api_key :string(255) +# mailchimp_include_additional_emails :boolean default(FALSE) +# mailchimp_last_synced_at :datetime +# mailchimp_result :text(65535) +# mailchimp_syncing :boolean default(FALSE) +# main_email :boolean default(FALSE) +# name :string(255) not null +# preferred_labels :string(255) +# publisher :string(255) +# subscribable_for :string(255) default("nobody"), not null +# subscribable_mode :string(255) +# subscribers_may_post :boolean default(FALSE), not null +# group_id :integer not null +# mailchimp_list_id :string(255) +# +# Indexes +# +# index_mailing_lists_on_group_id (group_id) # leaders: group: ch name: Leaders mail_name: leaders - subscribable: true + subscribable_for: anyone