beast rev 2066
[beast-modified.git] / db / migrate / 006_add_hits.rb
blobe637c5352799200bfb69f9cd848cc1e932ffa0f1
1 class AddHits < ActiveRecord::Migration
2   def self.up
3     add_column "posts", "hits", :integer, :default => 0 
4   end
6   def self.down
7     remove_column "posts", "hits"
8   end
9 end