To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / 8a / 8a0afb114464a58c980d1c1fc330e4d0f4da9931.svn-base @ 1297:0a574315af3e
History | View | Annotate | Download (694 Bytes)
| 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 |
|
| 6 |
create_table :open_id_authentication_nonces, :force => true do |t| |
| 7 |
t.integer :timestamp, :null => false |
| 8 |
t.string :server_url, :null => true |
| 9 |
t.string :salt, :null => false |
| 10 |
end |
| 11 |
end |
| 12 |
|
| 13 |
def self.down |
| 14 |
drop_table :open_id_authentication_nonces |
| 15 |
|
| 16 |
create_table :open_id_authentication_nonces, :force => true do |t| |
| 17 |
t.integer :created |
| 18 |
t.string :nonce |
| 19 |
end |
| 20 |
|
| 21 |
create_table :open_id_authentication_settings, :force => true do |t| |
| 22 |
t.string :setting |
| 23 |
t.binary :value |
| 24 |
end |
| 25 |
end |
| 26 |
end |