mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 18:22:53 +00:00
fix: Update the default status of the hooks to enabled (#7652)
In the recent Slack integration update, we made changes to how hooks are handled. Now, hooks require an additional check to be enabled. By default, new hooks are created in a disabled state, which might lead to issues with the hooks not being executed as expected. This migration updates the status attribute of hooks to have 'enabled' as the default value, ensuring that new hooks are enabled by default and can function properly.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# access_token :string
|
||||
# hook_type :integer default("account")
|
||||
# settings :jsonb
|
||||
# status :integer default("disabled")
|
||||
# status :integer default("enabled")
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# account_id :integer
|
||||
|
||||
Reference in New Issue
Block a user