Mercurial > hg > soundsoftware-site
annotate .svn/pristine/8a/8a0afb114464a58c980d1c1fc330e4d0f4da9931.svn-base @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 class <%= class_name %> < ActiveRecord::Migration |
Chris@909 | 2 def self.up |
Chris@909 | 3 drop_table :open_id_authentication_settings |
Chris@909 | 4 drop_table :open_id_authentication_nonces |
Chris@909 | 5 |
Chris@909 | 6 create_table :open_id_authentication_nonces, :force => true do |t| |
Chris@909 | 7 t.integer :timestamp, :null => false |
Chris@909 | 8 t.string :server_url, :null => true |
Chris@909 | 9 t.string :salt, :null => false |
Chris@909 | 10 end |
Chris@909 | 11 end |
Chris@909 | 12 |
Chris@909 | 13 def self.down |
Chris@909 | 14 drop_table :open_id_authentication_nonces |
Chris@909 | 15 |
Chris@909 | 16 create_table :open_id_authentication_nonces, :force => true do |t| |
Chris@909 | 17 t.integer :created |
Chris@909 | 18 t.string :nonce |
Chris@909 | 19 end |
Chris@909 | 20 |
Chris@909 | 21 create_table :open_id_authentication_settings, :force => true do |t| |
Chris@909 | 22 t.string :setting |
Chris@909 | 23 t.binary :value |
Chris@909 | 24 end |
Chris@909 | 25 end |
Chris@909 | 26 end |