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'/>
about summary refs log tree commit diff stats
path: root/db/migrate/20170625004938_create_entries.rb
blob: 0fb85b2c91699b2b201eefe39a84a3fb1d25bda7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12