Open-Source-Access-Control-.../db/migrate/20130922060217_change_surveys_to_text.rb
2014-02-09 00:56:48 -07:00

14 lines
438 B
Ruby
Executable File

class ChangeSurveysToText < ActiveRecord::Migration
def up
change_column :users, :current_skills, :text, :limit => nil
change_column :users, :desired_skills, :text, :limit => nil
change_column :users, :marketing_source, :text, :limit => nil
end
def down
change_column :users, :current_skills, :string
change_column :users, :desired_skills, :string
change_column :users, :marketing_source, :string
end
end