about summary refs log tree commit diff stats
path: root/db/migrate/20231017153558_add_more_comment_columns.rb
blob: 9ce3e07d8e8c86d0d2ec799aefd09e4c7db51d50 (plain) (blame)
1
2
3
4
5
6
7
8
9
class AddMoreCommentColumns < ActiveRecord::Migration[7.0]
  def change
    change_table :comments do |t|
      t.string :request_ip
      t.string :user_agent
      t.string :referrer
    end
  end
end