repo.or.cz
/
beast-modified.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
beast rev 2066
[beast-modified.git]
/
db
/
migrate
/
006_add_hits.rb
blob
e637c5352799200bfb69f9cd848cc1e932ffa0f1
1
class AddHits < ActiveRecord::Migration
2
def self.up
3
add_column "posts", "hits", :integer, :default => 0
4
end
5
6
def self.down
7
remove_column "posts", "hits"
8
end
9
end