summaryrefslogtreecommitdiffstats
path: root/db/migrate/20110226120132_change_auth_sources_account_password_limit.rb
blob: fac820b17fbc7a65ef9c1a312966f9b434248cbd (plain)
1
2
3
4
5
6
7
8
9
class ChangeAuthSourcesAccountPasswordLimit < ActiveRecord::Migration[4.2]
  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