Share your anonymous reaction to this post with the author—it would mean a lot to them!
- Share your anonymous reaction to this post with the author—it would mean a lot to them!
+
{weeklyUrl &&
Receive Weekly Updates Instead}
diff --git a/client/app/types/author.js b/client/app/types/author.js
index e470ca8a..85dff827 100644
--- a/client/app/types/author.js
+++ b/client/app/types/author.js
@@ -13,6 +13,7 @@ const type = PropTypes.shape({
link: PropTypes.string,
meta_image_url: PropTypes.string,
newsletter_disabled: PropTypes.bool.isRequired,
+ reactions_disabled: PropTypes.bool.isRequired,
secret: PropTypes.string.isRequired,
twitter: PropTypes.string,
username: PropTypes.string.isRequired,
diff --git a/db/migrate/20260513120000_add_reactions_disabled_to_authors.rb b/db/migrate/20260513120000_add_reactions_disabled_to_authors.rb
new file mode 100644
index 00000000..09ac54d3
--- /dev/null
+++ b/db/migrate/20260513120000_add_reactions_disabled_to_authors.rb
@@ -0,0 +1,5 @@
+class AddReactionsDisabledToAuthors < ActiveRecord::Migration[5.2]
+ def change
+ add_column :authors, :reactions_disabled, :boolean, default: false
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 3d029e3f..0b9c28d6 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 2023_02_24_140201) do
+ActiveRecord::Schema.define(version: 2026_05_13_120000) do
create_table "authors", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3", force: :cascade do |t|
t.string "secret", collation: "latin1_swedish_ci"
@@ -37,6 +37,7 @@
t.string "cover_style", default: "full", collation: "latin1_swedish_ci"
t.string "blog_layout_style", default: "vertical", collation: "latin1_swedish_ci"
t.boolean "custom_theme_enabled", default: false
+ t.boolean "reactions_disabled", default: false
t.index ["hide_from_homepage"], name: "index_authors_on_hide_from_homepage"
t.index ["homepage_activity"], name: "index_authors_on_homepage_activity"
end