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
/
20090112123845_add_kind_to_repository.rb
blob
fd65c1dc87434c7671a5716ca68c878d19ddab33
1
class AddKindToRepository < ActiveRecord::Migration
2
def self.up
3
add_column :repositories, :kind, :integer, :default => 0
4
add_index :repositories, :kind
5
end
6
7
def self.down
8
remove_column :repositories, :kind
9
end
10
end