From 50cc682e020ed5b72b8f13089cf868a66af586a4 Mon Sep 17 00:00:00 2001 From: nwb Date: Fri, 9 May 2014 17:27:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrate/20140509020307_add_attachmenttype_to_project.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20140509020307_add_attachmenttype_to_project.rb diff --git a/db/migrate/20140509020307_add_attachmenttype_to_project.rb b/db/migrate/20140509020307_add_attachmenttype_to_project.rb new file mode 100644 index 000000000..6a448977b --- /dev/null +++ b/db/migrate/20140509020307_add_attachmenttype_to_project.rb @@ -0,0 +1,5 @@ +class AddAttachmenttypeToProject < ActiveRecord::Migration + def change + add_column :projects, :attachmenttype, :int ,default: 1 + end +end