class CreateComments < ActiveRecord::Migration[7.1]
  def change
    create_table :comments do |t|
      t.references :thing, null: false, foreign_key: true
      t.text :content

      t.timestamps
    end
  end
end
