summaryrefslogtreecommitdiffstats
path: root/db/migrate/20110226120112_change_repositories_password_limit.rb
blob: 1ad937c7d1683b98bd565aee97df1060673ae4f7 (plain)
1
2
3
4
5
6
7
8
9
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