Sha256: dab94f44ddf3a784f7bf082df95f287d3ab64b2f0083a9ca6b03bce0803f0ee6

Contents?: true

Size: 373 Bytes

Versions: 4

Compression:

Stored size: 373 Bytes

Contents

class CreateOproAuthGrants < ActiveRecord::Migration
  def change
    create_table  :opro_access_grants do |t|
      t.string    :code
      t.string    :access_token
      t.string    :refresh_token
      t.text      :permissions
      t.datetime  :access_token_expires_at
      t.integer   :user_id
      t.integer   :application_id

      t.timestamps
    end
  end
end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
opro-0.0.3 lib/generators/active_record/templates/access_grants.rb
opro-0.0.3 test/dummy/db/migrate/20120514060322_create_opro_access_grants.rb
opro-0.0.2 lib/generators/active_record/templates/access_grants.rb
opro-0.0.2 test/dummy/db/migrate/20120514060322_create_opro_access_grants.rb