feat: Add APIs for Dialogflow integration V1 (#2155)

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Sojan Jose
2021-05-05 21:06:11 +05:30
committed by GitHub
parent fd0c26cdae
commit b30ecb27a6
19 changed files with 303 additions and 26 deletions

View File

@@ -0,0 +1,6 @@
class ConvertIntegrationHookSettingsField < ActiveRecord::Migration[6.0]
def change
remove_column :integrations_hooks, :settings, :text
add_column :integrations_hooks, :settings, :jsonb, default: {}
end
end

View File

@@ -338,12 +338,12 @@ ActiveRecord::Schema.define(version: 2021_04_30_100138) do
t.integer "inbox_id"
t.integer "account_id"
t.string "app_id"
t.text "settings"
t.integer "hook_type", default: 0
t.string "reference_id"
t.string "access_token"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.jsonb "settings", default: {}
end
create_table "kbase_articles", force: :cascade do |t|