diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-17 11:43:07 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-17 11:43:07 -0400 |
commit | 8d039903f630db0b89f2df44a94f4e5c938bd7bf (patch) | |
tree | 80d33266fff46582bc4ea7d1fc31f7b73efca965 /db/migrate | |
parent | 4369be26b98e874ec560f92b6fd204deca8bd609 (diff) | |
download | thoughts-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.rb | 9 |
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 @@ | |||
1 | class 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 | ||
9 | end | ||