Sha256: 15bca954f014a9de124d492ffb387a1441fe3a634996d524c7f3616ad1fcd769

Contents?: true

Size: 367 Bytes

Versions: 35

Compression:

Stored size: 367 Bytes

Contents

class MakeUserPerishableTokenNullable < ActiveRecord::Migration
  def self.up
    change_table "users" do |t|
      t.change    :perishable_token , :string , :null => true                # optional
    end
  end

  def self.down
    change_table "users" do |t|
      t.change    :perishable_token , :string , :null => false               # optional
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
refinerycms-0.9.7 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.34 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.33 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.32 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.31 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.30 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.29 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.28 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.27 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.26 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.25 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.24 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.23 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.22 db/migrate/20100312155331_make_user_perishable_token_nullable.rb
refinerycms-0.9.6.21 db/migrate/20100312155331_make_user_perishable_token_nullable.rb