You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

migration.rb 589B

1234567891011121314151617181920
  1. class <%= class_name %> < ActiveRecord::Migration
  2. def self.up
  3. create_table :open_id_authentication_associations, :force => true do |t|
  4. t.integer :issued, :lifetime
  5. t.string :handle, :assoc_type
  6. t.binary :server_url, :secret
  7. end
  8. create_table :open_id_authentication_nonces, :force => true do |t|
  9. t.integer :timestamp, :null => false
  10. t.string :server_url, :null => true
  11. t.string :salt, :null => false
  12. end
  13. end
  14. def self.down
  15. drop_table :open_id_authentication_associations
  16. drop_table :open_id_authentication_nonces
  17. end
  18. end