Changing user exit reason to fulltext

This commit is contained in:
Will Bradley 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

View File

@ -11,7 +11,7 @@
# #
# It's strongly recommended to check this file into your version control system. # It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20130922064241) do ActiveRecord::Schema.define(:version => 20130925015417) do
create_table "cards", :force => true do |t| create_table "cards", :force => true do |t|
t.string "card_number" t.string "card_number"
@ -140,13 +140,13 @@ ActiveRecord::Schema.define(:version => 20130922064241) do
t.string "current_sign_in_ip" t.string "current_sign_in_ip"
t.string "last_sign_in_ip" t.string "last_sign_in_ip"
t.boolean "admin" t.boolean "admin"
t.integer "member", :limit => 255 t.integer "member"
t.datetime "waiver" t.datetime "waiver"
t.datetime "orientation" t.datetime "orientation"
t.string "emergency_name" t.string "emergency_name"
t.string "emergency_phone" t.string "emergency_phone"
t.string "emergency_email" t.string "emergency_email"
t.integer "member_level", :limit => 255 t.integer "member_level"
t.string "payment_method" t.string "payment_method"
t.string "phone" t.string "phone"
t.text "current_skills" t.text "current_skills"
@ -156,7 +156,7 @@ ActiveRecord::Schema.define(:version => 20130922064241) do
t.text "marketing_source" t.text "marketing_source"
t.string "payee" t.string "payee"
t.boolean "accountant" t.boolean "accountant"
t.string "exit_reason" t.text "exit_reason"
t.string "twitter_url" t.string "twitter_url"
t.string "facebook_url" t.string "facebook_url"
t.string "github_url" t.string "github_url"