blob: 5eb41f588eb217983086e533caa37ba365082fa6 (
plain)
1
2
3
4
5
6
7
8
9
|
class ChangeRepositoriesPasswordLimit < ActiveRecord::Migration[4.2]
def self.up
change_column :repositories, :password, :string, :limit => nil, :default => ''
end
def self.down
change_column :repositories, :password, :string, :limit => 60, :default => ''
end
end
|