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