Sha256: 17c0a2bb26336bdc02c568d018fa37dbc7240d0150f10b518fc5099ab8dcf5fb

Contents?: true

Size: 354 Bytes

Versions: 2

Compression:

Stored size: 354 Bytes

Contents

class AddJiveWebhooks010Migration < ActiveRecord::Migration
	def self.up
		create_table :jive_webhooks do |t|
			t.integer :jive_add_on_id
			t.integer :jive_oauth_token_id

			t.integer :webhook_id

			t.string :events
			t.string :object
			t.string :callback

			t.timestamps null: false
		end
	end

	def self.down
		drop_table :jive_webhooks
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jive-webhook-0.0.2 lib/generators/jive/webhook/templates/migration_0.1.0.rb
jive-webhook-0.0.1 lib/generators/jive/webhook/templates/migration_0.1.0.rb