Chris@0: class AddOpenIdAuthenticationTables < ActiveRecord::Migration Chris@0: def self.up Chris@0: create_table :open_id_authentication_associations, :force => true do |t| Chris@0: t.integer :issued, :lifetime Chris@0: t.string :handle, :assoc_type Chris@0: t.binary :server_url, :secret Chris@0: end Chris@0: Chris@0: create_table :open_id_authentication_nonces, :force => true do |t| Chris@0: t.integer :timestamp, :null => false Chris@0: t.string :server_url, :null => true Chris@0: t.string :salt, :null => false Chris@0: end Chris@0: end Chris@0: Chris@0: def self.down Chris@0: drop_table :open_id_authentication_associations Chris@0: drop_table :open_id_authentication_nonces Chris@0: end Chris@0: end