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