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