2012-01-30 20:39:34 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2011-10-28 08:20:13 +01:00
|
|
|
class RemoveVisibilityFromRepositories < ActiveRecord::Migration
|
|
|
|
def self.up
|
|
|
|
remove_column :repositories, :visibility
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
add_column :repositories, :visibility, :string, :default => "open"
|
|
|
|
end
|
|
|
|
end
|