view db/migrate/20110226120132_change_auth_sources_account_password_limit.rb @ 1541:2696466256ff live

Fix erroneous error message when no hits found
author Chris Cannam
date Tue, 02 Jun 2015 12:24:46 +0100
parents 051f544170fe
children
line wrap: on
line source
class ChangeAuthSourcesAccountPasswordLimit < ActiveRecord::Migration
  def self.up
    change_column :auth_sources, :account_password, :string, :limit => nil, :default => ''
  end

  def self.down
    change_column :auth_sources, :account_password, :string, :limit => 60, :default => ''
  end
end