Feat: Manage conversation for tweets based on the tweet flag (#3353)
Add tweet conversation only if tweets are enabled. Fixes #1961
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddTweetEnabledFlagToTwitterChannel < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :channel_twitter_profiles, :tweets_enabled, :boolean, default: true
|
||||
end
|
||||
end
|
||||
@@ -242,6 +242,7 @@ ActiveRecord::Schema.define(version: 2021_12_08_085931) do
|
||||
t.integer "account_id", null: false
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.boolean "tweets_enabled", default: true
|
||||
t.index ["account_id", "profile_id"], name: "index_channel_twitter_profiles_on_account_id_and_profile_id", unique: true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user