discourse/plugins/poll/db/migrate/20191114160613_add_graph_to...

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