discourse/plugins/poll/db/migrate/20191114160613_add_graph_to_polls.rb
2019-11-25 11:51:01 -06:00

8 lines
177 B
Ruby

# frozen_string_literal: true
class AddGraphToPolls < ActiveRecord::Migration[6.0]
def change
add_column :polls, :chart_type, :integer, default: 0, null: false
end
end