Sha256: 7159b4af5a203673f5daa09704db67e13fa1e1869dd58cb4b9140b0b41bb9296

Contents?: true

Size: 409 Bytes

Versions: 2

Compression:

Stored size: 409 Bytes

Contents

class AddJiveOauthTokens010Migration < ActiveRecord::Migration
	def self.up
		create_table :jive_oauth_tokens do |t|
			t.integer :owner_id
			t.string :owner_type

			t.string :scope
			t.string :token_type
			t.integer :expires_in
			t.timestamp :expires_at
			t.string :refresh_token
			t.string :access_token

			t.timestamps null: false
		end
	end

	def self.down
		drop_table :jive_oauth_tokens
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jive-oauth_token-0.0.3 lib/generators/jive/oauth_token/templates/migration_0.1.0.rb
jive-oauth_token-0.0.2 lib/generators/jive/oauth_token/templates/migration_0.1.0.rb