Open-Source-Access-Control-.../db/migrate/20130925015417_change_user_exit_reason_to_text.rb

10 lines
205 B
Ruby
Raw Normal View History

2013-09-25 06:14:50 +00:00
class ChangeUserExitReasonToText < ActiveRecord::Migration
def up
change_column :users, :exit_reason, :text, :limit => nil
end
def down
change_column :users, :exit_reason, :string
end
end