view db/migrate/20110226120132_change_auth_sources_account_password_limit.rb @ 1556:81dd71991dc1 feature_1136

hg-hash option does not appear reliable ("Not updating refs/notes/hg (new tip XXX does not contain YYY")
author Chris Cannam
date Wed, 13 Jan 2016 13:33:03 +0000
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