Handle not ready repos
[gitorious.git] / db / migrate / 20090112123845_add_kind_to_repository.rb
blobfd65c1dc87434c7671a5716ca68c878d19ddab33
1 class AddKindToRepository < ActiveRecord::Migration
2   def self.up
3     add_column :repositories, :kind, :integer, :default => 0
4     add_index :repositories, :kind
5   end
7   def self.down
8     remove_column :repositories, :kind
9   end
10 end