Sha256: 67d139500ffd17c05f56defe2bb5ad47162e86c32d6db6518c0b3f3eae706aa4
Contents?: true
Size: 727 Bytes
Versions: 1
Compression:
Stored size: 727 Bytes
Contents
# frozen_string_literal: true class CreateActiveWebhookTables < ActiveRecord::Migration[4.2] def change create_table :active_webhook_subscriptions do |t| t.references :topic, class: :active_webhook_topic t.text :callback_url t.text :shared_secret t.datetime :disabled_at t.string :disabled_reason t.timestamps end create_table :active_webhook_topics do |t| t.string :key t.string :version t.datetime :disabled_at t.string :disabled_reason t.timestamps end create_table :active_webhook_error_logs do |t| t.references :subscription, class: :active_webhook_subscription t.string :job_id t.timestamps end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_webhook-1.0.0 | lib/generators/templates/20210618023338_create_active_webhook_tables.rb |