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:
Pranav Raj S
2023-08-01 12:14:47 -07:00
committed by GitHub
parent 62e9fc1bc5
commit 3a547de909
3 changed files with 20 additions and 3 deletions

View File

@@ -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