Sha256: d4ab68a1942076831df2798c2234f61ff7efe5493db83273498c7f12bef301fe

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

class AddJiveOauthTokens010Migration < ActiveRecord::Migration
	def self.up
		create_table :jive_oauth_tokens do |t|
			t.string :owner_id
			t.integer :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

1 entries across 1 versions & 1 rubygems

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