repo.or.cz
/
gitorious.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Handle not ready repos
[gitorious.git]
/
db
/
migrate
/
023_create_cloners.rb
blob
a77cf4f8fa6e845397f2c144237580ec17fd3e72
1
class CreateCloners < ActiveRecord::Migration
2
def self.up
3
create_table :cloners do |t|
4
t.string :ip
5
t.string :country_code, :length => 2
6
t.string :country
7
t.datetime :date
8
t.integer :repository_id
9
end
10
end
11
12
def self.down
13
drop_table :cloners
14
end
15
end
16