blob: 5fc9197255f60424a1106837807f80aaeae5a9e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
class AddRepositoryLoginAndPassword < ActiveRecord::Migration
def self.up
add_column :repositories, :login, :string, :limit => 60, :default => ""
add_column :repositories, :password, :string, :limit => 60, :default => ""
end
def self.down
remove_column :repositories, :login
remove_column :repositories, :password
end
end
|