Sha256: ffa9f1aa9a3669985f2a40964cd63e0c25462011cb8e1c9587913b5b38df53a7

Contents?: true

Size: 707 Bytes

Versions: 5

Compression:

Stored size: 707 Bytes

Contents

class CreateCanvasOauthAuthorizations < ActiveRecord::Migration[4.2]
  def change
    create_table "canvas_oauth_authorizations", :force => true do |t|
      t.integer  "canvas_user_id", :limit => 8
      t.integer  "canvas_root_account_id", :limit => 8
      t.string   "tool_consumer_instance_guid", :null => false
      t.string   "token"
      t.string   "refresh_token"
      t.datetime "last_used_at"
      t.datetime "created_at",                  :null => false
      t.datetime "updated_at",                  :null => false
    end

    add_index :canvas_oauth_authorizations, [:canvas_user_id, :tool_consumer_instance_guid],
      name: 'index_canvas_oauth_auths_on_user_id_and_tciguid'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
qalam_oauth_engine-3.0.8 db/migrate/20121121005358_create_canvas_oauth_authorizations.rb
qalam_oauth_engine-3.0.7 db/migrate/20121121005358_create_canvas_oauth_authorizations.rb
qalam_oauth_engine-3.0.6 db/migrate/20121121005358_create_canvas_oauth_authorizations.rb
qalam_oauth_engine-3.0.5 db/migrate/20121121005358_create_canvas_oauth_authorizations.rb
qalam_oauth_engine-3.0.4 db/migrate/20121121005358_create_canvas_oauth_authorizations.rb