description: Make the text be of SQL type text.

MySQL silently truncates the text...
This commit is contained in:
Holger Hans Peter Freyther 2012-08-04 16:39:42 +02:00
parent a755c72f35
commit f56d05b8f5
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
class DhlShippingMigration < ActiveRecord::Migration
def self.up
change_column :shipping_methods, :method_details, :text
end
def self.down
change_column :shipping_methods, :method_details, :string
end
end