From a996f3bd05fc480247fd112f23fa3e67f7d5d7b5 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 7 Dec 2024 15:54:39 -0500 Subject: Added support for liking blog posts via webmention --- db/migrate/20241207200746_add_like_fields_to_vote.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20241207200746_add_like_fields_to_vote.rb (limited to 'db/migrate') diff --git a/db/migrate/20241207200746_add_like_fields_to_vote.rb b/db/migrate/20241207200746_add_like_fields_to_vote.rb new file mode 100644 index 0000000..eae2816 --- /dev/null +++ b/db/migrate/20241207200746_add_like_fields_to_vote.rb @@ -0,0 +1,8 @@ +class AddLikeFieldsToVote < ActiveRecord::Migration[7.1] + def change + change_table :votes do |t| + t.string :liker_url + t.string :liker_name + end + end +end -- cgit 1.4.1