10 lines
228 B
Ruby
10 lines
228 B
Ruby
|
class RemoveVisibilityFromRepositories < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
remove_column :repositories, :visibility
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
add_column :repositories, :visibility, :string, :default => "open"
|
||
|
end
|
||
|
end
|