diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20241207200746_add_like_fields_to_vote.rb | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ | |||
1 | class AddLikeFieldsToVote < ActiveRecord::Migration[7.1] | ||
2 | def change | ||
3 | change_table :votes do |t| | ||
4 | t.string :liker_url | ||
5 | t.string :liker_name | ||
6 | end | ||
7 | end | ||
8 | end | ||