Mercurial > hg > soundsoftware-site
annotate .svn/pristine/8a/8a0afb114464a58c980d1c1fc330e4d0f4da9931.svn-base @ 1519:afce8026aaeb redmine-2.4-integration
Merge from branch "live"
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:34:53 +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 |