Changing user exit reason to fulltext

This commit is contained in:
2013-09-24 23:14:50 -07:00
parent 3c02724488
commit 530f4834ca
2 changed files with 18 additions and 9 deletions

View File

@@ -0,0 +1,9 @@
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