10 lines
276 B
Ruby
10 lines
276 B
Ruby
|
class ChangeRepositoriesPasswordLimit < ActiveRecord::Migration
|
||
|
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
|