rosa-build/db/migrate/20111028070604_remove_visib...

11 lines
255 B
Ruby

# -*- encoding : utf-8 -*-
class RemoveVisibilityFromRepositories < ActiveRecord::Migration
def self.up
remove_column :repositories, :visibility
end
def self.down
add_column :repositories, :visibility, :string, :default => "open"
end
end