Commit b450a0cecf8444b839dbb643d67f56958ec93169

Authored by Antonio Terceiro
1 parent 85013489

ActionItem1264: using text instead of string

db/migrate/072_add_terms_of_use_acceptance_text.rb
1 class AddTermsOfUseAcceptanceText < ActiveRecord::Migration 1 class AddTermsOfUseAcceptanceText < ActiveRecord::Migration
2 def self.up 2 def self.up
3 - add_column :environments, :terms_of_use_acceptance_text, :string 3 + add_column :environments, :terms_of_use_acceptance_text, :text
4 end 4 end
5 5
6 def self.down 6 def self.down
@@ -165,7 +165,7 @@ ActiveRecord::Schema.define(:version =&gt; 72) do @@ -165,7 +165,7 @@ ActiveRecord::Schema.define(:version =&gt; 72) do
165 t.text "custom_header" 165 t.text "custom_header"
166 t.text "custom_footer" 166 t.text "custom_footer"
167 t.string "theme" 167 t.string "theme"
168 - t.string "terms_of_use_acceptance_text" 168 + t.text "terms_of_use_acceptance_text"
169 end 169 end
170 170
171 create_table "external_feeds", :force => true do |t| 171 create_table "external_feeds", :force => true do |t|