问卷调查表增加描述列

This commit is contained in:
sw 2015-01-12 16:07:15 +08:00
parent c964194d85
commit c0fa21eb9f
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
class AddDescriptionToPolls < ActiveRecord::Migration
def up
add_column :polls, :polls_description, :text
end
def down
remove_column :polls,:polls_description
end
end