添加数据库脚本文件

This commit is contained in:
nwb 2014-05-09 17:27:04 +08:00
parent 7ccbc5e88a
commit 50cc682e02
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
class AddAttachmenttypeToProject < ActiveRecord::Migration
def change
add_column :projects, :attachmenttype, :int ,default: 1
end
end