class AddHeadnoteInDoctrines < ActiveRecord::Migration[6.1] def change add_column :doctrines, :headnote, :text, default: "", null: false end end