canvas-lms/db/migrate/20140606220920_add_position...

12 lines
237 B
Ruby

class AddPositionColumnToPollChoices < ActiveRecord::Migration
tag :predeploy
def self.up
add_column :polling_poll_choices, :position, :integer
end
def self.down
remove_column :polling_poll_choices, :position
end
end