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 / 00 / 005b22dce38bfa0d4254f9b889284c20d8267418.svn-base @ 912:5e80956cc792
History | View | Annotate | Download (589 Bytes)
| 1 | 909:cbb26bc654de | Chris | 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 | |||
| 9 | create_table :open_id_authentication_nonces, :force => true do |t| |
||
| 10 | t.integer :timestamp, :null => false |
||
| 11 | t.string :server_url, :null => true |
||
| 12 | t.string :salt, :null => false |
||
| 13 | end |
||
| 14 | end |
||
| 15 | |||
| 16 | def self.down |
||
| 17 | drop_table :open_id_authentication_associations |
||
| 18 | drop_table :open_id_authentication_nonces |
||
| 19 | end |
||
| 20 | end |