view db/migrate/20110226120112_change_repositories_password_limit.rb @ 507:0c939c159af4 redmine-1.2

Update to Redmine 1.2.1 on 1.2-stable branch (Redmine SVN rev 6270)
author Chris Cannam
date Thu, 14 Jul 2011 10:32:19 +0100
parents 051f544170fe
children
line wrap: on
line source
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