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 694B

1234567891011121314151617181920212223242526
  1. class <%= class_name %> < ActiveRecord::Migration
  2. def self.up
  3. drop_table :open_id_authentication_settings
  4. drop_table :open_id_authentication_nonces
  5. create_table :open_id_authentication_nonces, :force => true do |t|
  6. t.integer :timestamp, :null => false
  7. t.string :server_url, :null => true
  8. t.string :salt, :null => false
  9. end
  10. end
  11. def self.down
  12. drop_table :open_id_authentication_nonces
  13. create_table :open_id_authentication_nonces, :force => true do |t|
  14. t.integer :created
  15. t.string :nonce
  16. end
  17. create_table :open_id_authentication_settings, :force => true do |t|
  18. t.string :setting
  19. t.binary :value
  20. end
  21. end
  22. end