add webhook urls record

This commit is contained in:
Pete Matsyburka
2024-07-14 21:38:24 +03:00
parent f10e941529
commit de52f2f5e5
8 changed files with 112 additions and 11 deletions
@@ -0,0 +1,14 @@
# frozen_string_literal: true
class CreateWebhookUrls < ActiveRecord::Migration[7.1]
def change
create_table :webhook_urls do |t|
t.references :account, null: false, foreign_key: true, index: true
t.text :url, null: false
t.text :events, null: false
t.string :sha1, null: false, index: true
t.timestamps
end
end
end