feat: Remove restrictions on API channel webhook_url (#2261)

This commit is contained in:
Pranav Raj S
2021-05-13 15:03:25 +05:30
committed by GitHub
parent 35f8d01a0c
commit 836b317b8a
6 changed files with 50 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
class RemoveNotNullFromWebhookUrlChannelApi < ActiveRecord::Migration[6.0]
def change
change_column :channel_api, :webhook_url, :string, null: true
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_04_30_100138) do
ActiveRecord::Schema.define(version: 2021_05_13_083044) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_stat_statements"
@@ -139,7 +139,7 @@ ActiveRecord::Schema.define(version: 2021_04_30_100138) do
create_table "channel_api", force: :cascade do |t|
t.integer "account_id", null: false
t.string "webhook_url", null: false
t.string "webhook_url"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
end