repo.or.cz
/
appoyo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
some
[appoyo.git]
/
db
/
migrate
/
20090810000000_create_stats.rb
blob
6df289e4b76aebdda467aa5650d5624cf9d213d2
1
class CreateStats < ActiveRecord::Migration
2
def self.up
3
create_table :stats do |t|
4
t.string :uid
5
t.integer :action
6
t.integer :extra
7
t.timestamps
8
end
9
10
end
11
12
def self.down
13
drop_table :stats
14
end
15
end