# encoding: UTF-8
# frozen_string_literal: true

class AddIsKeyColumnToQuestions < ActiveRecord::Migration[5.2]
  def self.up
    add_column :questions, :is_key, :boolean, default: false, null: false
  end

  def self.down
    remove_column :questions, :is_key
  end
end
