10 lines
180 B
Ruby
10 lines
180 B
Ruby
|
class AddShowResult < ActiveRecord::Migration
|
||
|
def up
|
||
|
add_column :polls, :show_result, :integer, default: 1
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
remove_column :polls, :show_result
|
||
|
end
|
||
|
end
|