blob: e26c2333c845d0d61c1aed80fc49b4aa1a7fa4ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
class AddRepositoryLoginAndPassword < ActiveRecord::Migration[4.2]
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
|