1 2 3 4 5 6 7 8 9 10 11 12 |
|
class MakeBlogVotable < ActiveRecord::Migration[7.0] def change change_table :blogs do |t| t.integer :upvotes, default: 0, null: false t.integer :downvotes, default: 0, null: false end end end e/20170625004938_create_entries.rb?h=master' type='application/atom+xml'/>