blob: 02cd131b16f948cc0551f19d17d60fb981388ac5 (
plain) (
tree)
|
|
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
|