comparison .svn/pristine/8a/8a0afb114464a58c980d1c1fc330e4d0f4da9931.svn-base @ 909:cbb26bc654de redmine-1.3

Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author Chris Cannam
date Fri, 24 Feb 2012 19:09:32 +0000
parents
children
comparison
equal deleted inserted replaced
908:c6c2cbd0afee 909:cbb26bc654de
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