blob: 76ad6242052f5d4af0576de82c049ae54550a894 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# This migration comes from refinery_blog (originally 20120223022021)
class AddAccessCountToPosts < ActiveRecord::Migration
def change
add_column Refinery::Blog::Post.table_name, :access_count, :integer, :default => 0
add_index Refinery::Blog::Post.table_name, :access_count
end
end
|