From 8d039903f630db0b89f2df44a94f4e5c938bd7bf Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 17 Oct 2023 11:43:07 -0400 Subject: Added marking comments as spam --- db/migrate/20231017153558_add_more_comment_columns.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20231017153558_add_more_comment_columns.rb (limited to 'db/migrate') diff --git a/db/migrate/20231017153558_add_more_comment_columns.rb b/db/migrate/20231017153558_add_more_comment_columns.rb new file mode 100644 index 0000000..9ce3e07 --- /dev/null +++ b/db/migrate/20231017153558_add_more_comment_columns.rb @@ -0,0 +1,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 -- cgit 1.4.1