问卷调查表增加描述列
This commit is contained in:
parent
c964194d85
commit
c0fa21eb9f
|
@ -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
|
Loading…
Reference in New Issue