Sha256: c968cbd931fb1d9e38b32971c3c69d60e56f7110425c18f3c0dc8a66d1f20157

Contents?: true

Size: 601 Bytes

Versions: 109

Compression:

Stored size: 601 Bytes

Contents

class AddOpenIdAuthenticationTables < ActiveRecord::Migration
  def self.up
    create_table :open_id_authentication_associations, :force => true do |t|
      t.integer :issued, :lifetime
      t.string :handle, :assoc_type
      t.binary :server_url, :secret
    end

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

  def self.down
    drop_table :open_id_authentication_associations
    drop_table :open_id_authentication_nonces
  end
end

Version data entries

109 entries across 97 versions & 14 rubygems

Version Path
spree_essential_press-0.1.0.pre3 test/dummy/db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree_essential_press-0.1.0.pre2 test/dummy/db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree_core-0.50.2 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree_core-0.50.1 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree_core-0.50.0 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree_core-0.40.3 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree_core-0.40.2 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree_core-0.40.1 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree_core-0.40.0 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree_core-0.30.1 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree_core-0.30.0 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree-0.11.2 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree-0.11.1 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree_core-0.30.0.beta1 lib/generators/templates/db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree-0.11.0 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree-0.10.2 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree-0.10.1 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree-0.10.0 db/migrate/20091015110842_add_open_id_authentication_tables.rb
spree-0.10.0.beta db/migrate/20091015110842_add_open_id_authentication_tables.rb
hubbub-0.0.11 lib/db/migrate/20091227213928_add_open_id_authentication_tables.rb