about summary refs log tree commit diff stats
path: root/db/migrate/20231017153558_add_more_comment_columns.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20231017153558_add_more_comment_columns.rb')
-rw-r--r--db/migrate/20231017153558_add_more_comment_columns.rb9
1 files changed, 9 insertions, 0 deletions
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 @@
1class AddMoreCommentColumns < ActiveRecord::Migration[7.0]
2 def change
3 change_table :comments do |t|
4 t.string :request_ip
5 t.string :user_agent
6 t.string :referrer
7 end
8 end
9end