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