Sha256: 96a70995335d9abce509b6de7194a06fe1174b393cdc394f3c974566cd370452

Contents?: true

Size: 337 Bytes

Versions: 6

Compression:

Stored size: 337 Bytes

Contents

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

      t.timestamps
    end
  end
end

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
opro-0.0.1.pre1.0.2 lib/generators/active_record/templates/access_grants.rb
opro-0.0.1.pre1.0.2 test/dummy/db/migrate/20120408165729_create_opro_access_grants.rb
opro-0.0.1.pre1.0.1 lib/generators/active_record/templates/access_grants.rb
opro-0.0.1.pre1.0.1 test/dummy/db/migrate/20120408165729_create_opro_access_grants.rb
opro-0.0.1.pre lib/generators/active_record/templates/access_grants.rb
opro-0.0.1.pre test/dummy/db/migrate/20120408165729_create_opro_access_grants.rb