From c583d7142b488b6a46727fd571abbd95e0d2637a Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 20 Aug 2012 14:38:28 +0200 Subject: [PATCH] string to text --- ...20120819102731_change_data_type_for_table_column.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 db/migrate/20120819102731_change_data_type_for_table_column.rb diff --git a/db/migrate/20120819102731_change_data_type_for_table_column.rb b/db/migrate/20120819102731_change_data_type_for_table_column.rb new file mode 100644 index 0000000..b062da5 --- /dev/null +++ b/db/migrate/20120819102731_change_data_type_for_table_column.rb @@ -0,0 +1,10 @@ +class ChangeDataTypeForTableColumn < ActiveRecord::Migration + def up + change_column :question_sets, :content, :text + + end + + def down + + end +end