annotate .svn/pristine/00/005b22dce38bfa0d4254f9b889284c20d8267418.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 create_table :open_id_authentication_associations, :force => true do |t|
Chris@909 4 t.integer :issued, :lifetime
Chris@909 5 t.string :handle, :assoc_type
Chris@909 6 t.binary :server_url, :secret
Chris@909 7 end
Chris@909 8
Chris@909 9 create_table :open_id_authentication_nonces, :force => true do |t|
Chris@909 10 t.integer :timestamp, :null => false
Chris@909 11 t.string :server_url, :null => true
Chris@909 12 t.string :salt, :null => false
Chris@909 13 end
Chris@909 14 end
Chris@909 15
Chris@909 16 def self.down
Chris@909 17 drop_table :open_id_authentication_associations
Chris@909 18 drop_table :open_id_authentication_nonces
Chris@909 19 end
Chris@909 20 end