添加迁移--项目类型默认值

dev_repository_hjq
huang 10 years ago
parent b8058c3e12
commit f528584345

@ -0,0 +1,9 @@
class ImportNewtypeDataToProject < ActiveRecord::Migration
def up
sql = ("update projects set project_new_type=1")
execute(sql)
end
def down
end
end
Loading…
Cancel
Save