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

10 lines
225 B
Ruby
Raw Normal View History

class RemoveVisibilityFromRepositories < ActiveRecord::Migration
def self.up
remove_column :repositories, :visibility
end
def self.down
2014-01-21 04:51:49 +00:00
add_column :repositories, :visibility, :string, default: "open"
end
end