about summary refs log tree commit diff stats
path: root/db/migrate
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-17 11:43:07 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-17 11:43:07 -0400
commit8d039903f630db0b89f2df44a94f4e5c938bd7bf (patch)
tree80d33266fff46582bc4ea7d1fc31f7b73efca965 /db/migrate
parent4369be26b98e874ec560f92b6fd204deca8bd609 (diff)
downloadthoughts-8d039903f630db0b89f2df44a94f4e5c938bd7bf.tar.gz
thoughts-8d039903f630db0b89f2df44a94f4e5c938bd7bf.tar.bz2
thoughts-8d039903f630db0b89f2df44a94f4e5c938bd7bf.zip
Added marking comments as spam
Diffstat (limited to 'db/migrate')
-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