ref: master
db/migrate/20160309122141_add_id_to_article_follower.rb
1 2 3 4 5
class AddIdToArticleFollower < ActiveRecord::Migration def change add_column :article_followers, :id, :primary_key end end