class QuestionQuestionKind < ActiveRecord::Migration[8.0] def change rename_column :questions, :kind, :answer_kind add_column :questions, :question_kind, :integer, null: false, default: 0 end end