From f2f979220324e08fdfe0de1140e80b8fbd58cddf Mon Sep 17 00:00:00 2001 From: huang Date: Sat, 15 Oct 2016 09:38:48 +0800 Subject: [PATCH] =?UTF-8?q?attachment=20history=E4=B8=ADdescription?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=B1=BB=E5=9E=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...15013348_change_description_for_attachment_history.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20161015013348_change_description_for_attachment_history.rb diff --git a/db/migrate/20161015013348_change_description_for_attachment_history.rb b/db/migrate/20161015013348_change_description_for_attachment_history.rb new file mode 100644 index 000000000..c3af1ec31 --- /dev/null +++ b/db/migrate/20161015013348_change_description_for_attachment_history.rb @@ -0,0 +1,9 @@ +class ChangeDescriptionForAttachmentHistory < ActiveRecord::Migration + def up + change_column :attachment_histories, :description, :text + end + + def down + change_column :attachment_histories, :description, :string + end +end