Sha256: 916cc826e831ff7b1a11cd43e4d6f4ba6067a4120351789cd6217b723a6d0e37

Contents?: true

Size: 830 Bytes

Versions: 10

Compression:

Stored size: 830 Bytes

Contents

# Use this migration to create the tables for the ActiveRecord store
class AddOpenIdStoreToDb < ActiveRecord::Migration
  def self.up
    create_table "open_id_associations", :force => true do |t|
      t.column "server_url", :binary, :null => false
      t.column "handle", :string, :null => false
      t.column "secret", :binary, :null => false
      t.column "issued", :integer, :null => false
      t.column "lifetime", :integer, :null => false
      t.column "assoc_type", :string, :null => false
    end

    create_table "open_id_nonces", :force => true do |t|
      t.column :server_url, :string, :null => false
      t.column :timestamp, :integer, :null => false
      t.column :salt, :string, :null => false
    end
  end

  def self.down
    drop_table "open_id_associations"
    drop_table "open_id_nonces"
  end
end

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
pelle-ruby-openid-2.1.8 examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb
entp-ruby-openid-2.2 examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb
nov-ruby-openid-2.1.9 examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb
ruby-openid-2.1.8 examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb
pelle-ruby-openid-2.1.9 examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb
ruby-openid-2.1.7 examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb
ruby-openid-2.1.5 examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb
ruby-openid-2.1.2 examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb
ruby-openid-2.1.4 examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb
ruby-openid-2.1.6 examples/active_record_openid_store/XXX_add_open_id_store_to_db.rb